Code

fix a bug when writing lyrics. 1st line is written now
authorAndreas Obergrusberger <tradiaz@yahoo.de>
Mon, 7 Aug 2006 18:45:02 +0000 (18:45 +0000)
committerAndreas Obergrusberger <tradiaz@yahoo.de>
Mon, 7 Aug 2006 18:45:02 +0000 (18:45 +0000)
git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4588 09075e82-0dd4-0310-85a5-a0d7c8717e4f

src/screen_lyrics.c

index e54e6a41132b1baa908adfe0e4d20ababca7ca8a..9c159bcdd271ab1c937b6a43f22962999f8ec506 100644 (file)
@@ -352,7 +352,7 @@ int store_lyr_hd()
        int i;
        char line_buf[1024];
        
-       for(i = 4; i <= lyr_text.text->len; i++)
+       for(i = 3; i <= lyr_text.text->len; i++)
        {
                if(get_text_line(&lyr_text, i, line_buf, 1024) == -1);
                fputs(line_buf, lyr_file);