aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_lyrics.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/screen_lyrics.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/screen_lyrics.c b/src/screen_lyrics.c
index 03a474ff8..c5876f30a 100644
--- a/src/screen_lyrics.c
+++ b/src/screen_lyrics.c
@@ -115,7 +115,7 @@ gpointer get_lyr(void *c)
char artist[MAX_SONGNAME_LENGTH];
char title[MAX_SONGNAME_LENGTH];
- lock = 2;
+ lock=2;
result = 0;
formed_text_init(&lyr_text);
@@ -132,7 +132,11 @@ gpointer get_lyr(void *c)
if (((retrieval_spec*)c)->way != -1) /*till it'S of use*/
{
- if(get_lyr_by_src (src_selection, artist, title) != 0) return NULL;
+ if(get_lyr_by_src (src_selection, artist, title) != 0)
+ {
+ lock=0;
+ return NULL;
+ }
}
/*else{
if(get_lyr_hd(artist, title) != 0)
@@ -141,7 +145,7 @@ gpointer get_lyr(void *c)
}
else result |= 1;
}*/
-
+ //return NULL;
lw->start = 0;
check_repaint();
lock = 1;