From 62bc8509633aa4f843bd10e0b5c8ccf1b63c2072 Mon Sep 17 00:00:00 2001 From: Andreas Obergrusberger Date: Sun, 6 Aug 2006 19:12:36 +0000 Subject: [PATCH] fixed up lyrics loading interruption git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4576 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- ChangeLog | 3 ++- src/screen_lyrics.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4140e0a..7c398b9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 2006-09-6 Andreas Obergrusberger * 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 * 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 598fb0d..d941967 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; -- 2.30.2