Commit 59dd8ffb authored by Max Kellermann's avatar Max Kellermann

PlaylistFile: use Path::ToUTF8() instead of PathToUTF8()

parent 8f9fe1b1
...@@ -276,7 +276,7 @@ LoadPlaylistFile(const char *utf8path, Error &error) ...@@ -276,7 +276,7 @@ LoadPlaylistFile(const char *utf8path, Error &error)
uri_utf8 = map_fs_to_utf8(path); uri_utf8 = map_fs_to_utf8(path);
if (uri_utf8.empty()) { if (uri_utf8.empty()) {
if (path.IsAbsolute()) { if (path.IsAbsolute()) {
uri_utf8 = PathToUTF8(s); uri_utf8 = path.ToUTF8();
if (uri_utf8.empty()) if (uri_utf8.empty())
continue; continue;
} else } else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment