diff options
Diffstat (limited to 'src/song.c')
-rw-r--r-- | src/song.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/song.c b/src/song.c index 44aba9736..24fd2d733 100644 --- a/src/song.c +++ b/src/song.c @@ -97,7 +97,7 @@ song_free(struct song *song) free(song); } -int +bool song_file_update(struct song *song) { struct decoder_plugin *plugin; @@ -120,9 +120,9 @@ song_file_update(struct song *song) song->tag = plugin->tag_dup(abs_path); if (song->tag == NULL || song->tag->time < 0) - return -1; + return false; - return 0; + return true; } char * |