aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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