aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlaylistSave.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-14 22:38:29 +0200
committerMax Kellermann <max@duempel.org>2013-10-14 22:38:29 +0200
commit9508ea982b8feb012a9d354a7c80005421a854bc (patch)
tree4c50648506d2ad1bcc5ebbf93138b62074310840 /src/PlaylistSave.cxx
parent47d655ea7f0ed9c26ceba4767ef6aa82e434d129 (diff)
downloadmpd-9508ea982b8feb012a9d354a7c80005421a854bc.tar.gz
mpd-9508ea982b8feb012a9d354a7c80005421a854bc.tar.xz
mpd-9508ea982b8feb012a9d354a7c80005421a854bc.zip
fs/Path: add method IsAbsolute()
Diffstat (limited to 'src/PlaylistSave.cxx')
-rw-r--r--src/PlaylistSave.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PlaylistSave.cxx b/src/PlaylistSave.cxx
index 6e17b6fc3..7889f778a 100644
--- a/src/PlaylistSave.cxx
+++ b/src/PlaylistSave.cxx
@@ -56,7 +56,7 @@ void
playlist_print_uri(FILE *file, const char *uri)
{
Path path = playlist_saveAbsolutePaths && !uri_has_scheme(uri) &&
- !g_path_is_absolute(uri)
+ !Path::IsAbsoluteUTF8(uri)
? map_uri_fs(uri)
: Path::FromUTF8(uri);