aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-03-05 08:36:51 +0100
committerMax Kellermann <max@duempel.org>2015-03-05 08:37:00 +0100
commit59dd8ffbc6d811c28dc0f127cb89d548d3e3ce2c (patch)
tree975721c3d8ec07f067f22c6dbeb6f10818bcfee1 /src
parent8f9fe1b11a67444a3697e4ddeb365ac074ce0d07 (diff)
downloadmpd-59dd8ffbc6d811c28dc0f127cb89d548d3e3ce2c.tar.gz
mpd-59dd8ffbc6d811c28dc0f127cb89d548d3e3ce2c.tar.xz
mpd-59dd8ffbc6d811c28dc0f127cb89d548d3e3ce2c.zip
PlaylistFile: use Path::ToUTF8() instead of PathToUTF8()
Diffstat (limited to '')
-rw-r--r--src/PlaylistFile.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PlaylistFile.cxx b/src/PlaylistFile.cxx
index bc8418b9a..0ebb232e5 100644
--- a/src/PlaylistFile.cxx
+++ b/src/PlaylistFile.cxx
@@ -276,7 +276,7 @@ LoadPlaylistFile(const char *utf8path, Error &error)
uri_utf8 = map_fs_to_utf8(path);
if (uri_utf8.empty()) {
if (path.IsAbsolute()) {
- uri_utf8 = PathToUTF8(s);
+ uri_utf8 = path.ToUTF8();
if (uri_utf8.empty())
continue;
} else