From 0e00b9009d1cce5a25f4684dee83bee91ff4da34 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 28 Feb 2015 23:45:16 +0100 Subject: fs/Path: pass Path to Relative() --- src/Mapper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Mapper.cxx') diff --git a/src/Mapper.cxx b/src/Mapper.cxx index 7189544e7..e6c7a248a 100644 --- a/src/Mapper.cxx +++ b/src/Mapper.cxx @@ -98,7 +98,7 @@ map_fs_to_utf8(Path _path_fs) if (music_dir_fs.IsNull()) return std::string(); - path_fs = music_dir_fs.Relative(path_fs); + path_fs = music_dir_fs.Relative(_path_fs); if (path_fs == nullptr || *path_fs == 0) return std::string(); } -- cgit v1.2.3