aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Obergrusberger <tradiaz@yahoo.de>2006-08-06 19:12:36 +0000
committerAndreas Obergrusberger <tradiaz@yahoo.de>2006-08-06 19:12:36 +0000
commit62bc8509633aa4f843bd10e0b5c8ccf1b63c2072 (patch)
treef8804dd6e72f7c6b0e9c6e01a68cb687ce7bcafe
parentdb9a25c6ce2c475cb8b1e1e4d210e0c5793e0047 (diff)
downloadmpd-62bc8509633aa4f843bd10e0b5c8ccf1b63c2072.tar.gz
mpd-62bc8509633aa4f843bd10e0b5c8ccf1b63c2072.tar.xz
mpd-62bc8509633aa4f843bd10e0b5c8ccf1b63c2072.zip
fixed up lyrics loading interruption
git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4576 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-rw-r--r--ChangeLog3
-rw-r--r--src/screen_lyrics.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 4140e0a1e..7c398b972 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
2006-09-6 Andreas Obergrusberger <tradiaz@yahoo.de>
* fixed a bug in the lyrics screen that made
the first texte line not show up
+ * just interrupt running, not upcomming lyrics retrieval
2006-09-5 Andreas Obergrusberger <tradiaz@yahoo.de>
* the 5th of august... it's dark around me...
@@ -28,7 +29,7 @@
* catching signal SIGHUP now
* host and port of mpd can be specified in the config file now
* libmpdclient update (the experimental search screen
- is making problems with the it)
+ is making problems with it)
* enhanced compatibility of Makefile.am for automake
* jat fixed a bug that occured when being in a non existing
directory in the browse screen
diff --git a/src/screen_lyrics.c b/src/screen_lyrics.c
index 598fb0d21..d941967ea 100644
--- a/src/screen_lyrics.c
+++ b/src/screen_lyrics.c
@@ -496,7 +496,7 @@ lyrics_cmd(screen_t *screen, mpdclient_t *c, command_t cmd)
g_thread_create(get_lyr, c, FALSE, NULL);
return 1;
case CMD_INTERRUPT:
- if(lock != 0) lock = 4;
+ if(lock > 1) lock = 4;
return 1;
default:
break;