diff options
Diffstat (limited to 'src/song_save.c')
-rw-r--r-- | src/song_save.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/song_save.c b/src/song_save.c index 4b8409d86..d931849e5 100644 --- a/src/song_save.c +++ b/src/song_save.c @@ -125,8 +125,7 @@ songvec_load(FILE *fp, struct songvec *sv, struct directory *parent, const char *value; while ((line = read_text_line(fp, buffer)) != NULL && - !g_str_has_prefix(line, SONG_END)) { - + strcmp(line, SONG_END) != 0) { if (0 == strncmp(SONG_KEY, line, strlen(SONG_KEY))) { if (song) commit_song(sv, song); |