aboutsummaryrefslogtreecommitdiffstats
path: root/src/Mapper.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-02-28 23:45:16 +0100
committerMax Kellermann <max@duempel.org>2015-02-28 23:45:16 +0100
commit0e00b9009d1cce5a25f4684dee83bee91ff4da34 (patch)
tree9ddaced857fdf2e33b1455f7fc9ab2222bf4c260 /src/Mapper.cxx
parenta6dd998d313e60a1a350d206ca8275aaa83db20a (diff)
downloadmpd-0e00b9009d1cce5a25f4684dee83bee91ff4da34.tar.gz
mpd-0e00b9009d1cce5a25f4684dee83bee91ff4da34.tar.xz
mpd-0e00b9009d1cce5a25f4684dee83bee91ff4da34.zip
fs/Path: pass Path to Relative()
Diffstat (limited to '')
-rw-r--r--src/Mapper.cxx2
1 files changed, 1 insertions, 1 deletions
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();
}