aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlaylistFile.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/PlaylistFile.cxx
parent47d655ea7f0ed9c26ceba4767ef6aa82e434d129 (diff)
downloadmpd-9508ea982b8feb012a9d354a7c80005421a854bc.tar.gz
mpd-9508ea982b8feb012a9d354a7c80005421a854bc.tar.xz
mpd-9508ea982b8feb012a9d354a7c80005421a854bc.zip
fs/Path: add method IsAbsolute()
Diffstat (limited to '')
-rw-r--r--src/PlaylistFile.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PlaylistFile.cxx b/src/PlaylistFile.cxx
index 6085020e0..16c1bcdec 100644
--- a/src/PlaylistFile.cxx
+++ b/src/PlaylistFile.cxx
@@ -246,7 +246,7 @@ LoadPlaylistFile(const char *utf8path, Error &error)
if (!uri_has_scheme(s)) {
uri_utf8 = map_fs_to_utf8(s);
if (uri_utf8.empty()) {
- if (g_path_is_absolute(s)) {
+ if (Path::IsAbsoluteFS(s)) {
uri_utf8 = Path::ToUTF8(s);
if (uri_utf8.empty())
continue;