aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist_save.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/playlist_save.c')
-rw-r--r--src/playlist_save.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/playlist_save.c b/src/playlist_save.c
index 103a810fb..d56c0f324 100644
--- a/src/playlist_save.c
+++ b/src/playlist_save.c
@@ -54,7 +54,7 @@ playlist_print_uri(FILE *file, const char *uri)
char *s;
if (playlist_saveAbsolutePaths && !uri_has_scheme(uri) &&
- uri[0] != '/')
+ !g_path_is_absolute(uri))
s = map_uri_fs(uri);
else
s = utf8_to_fs_charset(uri);