diff options
author | Max Kellermann <max@duempel.org> | 2013-10-14 22:38:29 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-14 22:38:29 +0200 |
commit | 9508ea982b8feb012a9d354a7c80005421a854bc (patch) | |
tree | 4c50648506d2ad1bcc5ebbf93138b62074310840 /src/ConfigPath.cxx | |
parent | 47d655ea7f0ed9c26ceba4767ef6aa82e434d129 (diff) | |
download | mpd-9508ea982b8feb012a9d354a7c80005421a854bc.tar.gz mpd-9508ea982b8feb012a9d354a7c80005421a854bc.tar.xz mpd-9508ea982b8feb012a9d354a7c80005421a854bc.zip |
fs/Path: add method IsAbsolute()
Diffstat (limited to 'src/ConfigPath.cxx')
-rw-r--r-- | src/ConfigPath.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ConfigPath.cxx b/src/ConfigPath.cxx index 7096bcc82..879a1ea56 100644 --- a/src/ConfigPath.cxx +++ b/src/ConfigPath.cxx @@ -118,7 +118,7 @@ ParsePath(const char *path, Error &error) return Path::Null(); return Path::Build(home, path2); - } else if (!g_path_is_absolute(path)) { + } else if (!Path::IsAbsoluteUTF8(path)) { error.Format(path_domain, "not an absolute path: %s", path); return Path::Null(); |