summaryrefslogtreecommitdiff
path: root/src/PlaylistFile.cxx
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/PlaylistFile.cxx
parent8f9fe1b11a67444a3697e4ddeb365ac074ce0d07 (diff)
PlaylistFile: use Path::ToUTF8() instead of PathToUTF8()
Diffstat (limited to 'src/PlaylistFile.cxx')
-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