fs/Path: add method IsAbsolute()
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user