aboutsummaryrefslogtreecommitdiffstats
path: root/src/lyrics_leoslyrics.c
diff options
context:
space:
mode:
authorAndreas Obergrusberger <tradiaz@yahoo.de>2007-02-01 21:06:33 +0000
committerAndreas Obergrusberger <tradiaz@yahoo.de>2007-02-01 21:06:33 +0000
commit0ed1625063f33d2fb9b8bffe9b191a22de0526fa (patch)
tree9cd07b4d21f80443787a020ec57ea26071cfbad1 /src/lyrics_leoslyrics.c
parent0058a29551923c8f39c52e75ea7ad97743fa2c05 (diff)
downloadmpd-0ed1625063f33d2fb9b8bffe9b191a22de0526fa.tar.gz
mpd-0ed1625063f33d2fb9b8bffe9b191a22de0526fa.tar.xz
mpd-0ed1625063f33d2fb9b8bffe9b191a22de0526fa.zip
lyrics updates, leoslyrics fixes
git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@5314 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/lyrics_leoslyrics.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lyrics_leoslyrics.c b/src/lyrics_leoslyrics.c
index f49737656..3b85e68d3 100644
--- a/src/lyrics_leoslyrics.c
+++ b/src/lyrics_leoslyrics.c
@@ -82,6 +82,7 @@ static void fetch_text(void *userData, const XML_Char *s, int len)
{
if(result & 16)
{
+ if (s[0] == 13 ) return; //ignore any single carriage returns
add_text_line(&lyr_text, s, len);
}
}