aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--src/screen_lyrics.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 19e3e9319..b526d9c2e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-08.8 Andreas Obergrusberger <tradiaz@yahoo.de>
+ * Avuton fixed some warning
+ * fixed a bug that doubled empty lines
+ when loading lyrics from hd
+
2006-08-7 Andreas Obergrusberger <tradiaz@yahoo.de>
* bugfixes in lyrics screen
* ncmpc can now load and save lyrics
diff --git a/src/screen_lyrics.c b/src/screen_lyrics.c
index c3c98dcee..8a05ccc78 100644
--- a/src/screen_lyrics.c
+++ b/src/screen_lyrics.c
@@ -328,7 +328,7 @@ int get_lyr_hd(char *artist, char *title)
{
n = getline(line, &n, lyr_file);
if( n < 1 || *line == NULL || feof(lyr_file) != 0 ) return 0;
- add_text_line(&lyr_text, *line, n+1);
+ add_text_line(&lyr_text, *line, n);
free(*line);
*line = NULL; n = 0;
}