PlaylistFile: use Path::ToUTF8() instead of PathToUTF8()
This commit is contained in:
parent
8f9fe1b11a
commit
59dd8ffbc6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user