From 9508ea982b8feb012a9d354a7c80005421a854bc Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 14 Oct 2013 22:38:29 +0200 Subject: fs/Path: add method IsAbsolute() --- src/SongUpdate.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/SongUpdate.cxx') diff --git a/src/SongUpdate.cxx b/src/SongUpdate.cxx index 4c5f35c78..98a58c53e 100644 --- a/src/SongUpdate.cxx +++ b/src/SongUpdate.cxx @@ -47,7 +47,7 @@ Song::LoadFile(const char *path_utf8, Directory *parent) Song *song; bool ret; - assert((parent == NULL) == g_path_is_absolute(path_utf8)); + assert((parent == NULL) == Path::IsAbsoluteUTF8(path_utf8)); assert(!uri_has_scheme(path_utf8)); assert(strchr(path_utf8, '\n') == NULL); -- cgit v1.2.3