diff options
Diffstat (limited to '')
-rw-r--r-- | src/song_update.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/song_update.c b/src/song_update.c index 4c1c69da2..cfef5861f 100644 --- a/src/song_update.c +++ b/src/song_update.c @@ -39,7 +39,7 @@ song_file_load(const char *path, struct directory *parent) struct song *song; bool ret; - assert((parent == NULL) == (*path == '/')); + assert((parent == NULL) == g_path_is_absolute(path)); assert(!uri_has_scheme(path)); assert(strchr(path, '\n') == NULL); |