From 59dd8ffbc6d811c28dc0f127cb89d548d3e3ce2c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 5 Mar 2015 08:36:51 +0100 Subject: [PATCH] PlaylistFile: use Path::ToUTF8() instead of PathToUTF8() --- src/PlaylistFile.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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