aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/screen_lyrics.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/screen_lyrics.c b/src/screen_lyrics.c
index eb7035a0b..99487da33 100644
--- a/src/screen_lyrics.c
+++ b/src/screen_lyrics.c
@@ -89,7 +89,8 @@ static int store_lyr_hd(void)
return -1;
for (i = 3; i <= lyr_text.text->len; i++) {
- if(get_text_line(&lyr_text, i, line_buf, 1024) == -1);
+ if (get_text_line(&lyr_text, i, line_buf, 1024) == -1)
+ break;
fputs(line_buf, lyr_file);
}