aboutsummaryrefslogtreecommitdiffstats
path: root/src/src_lyrics.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/src_lyrics.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/src_lyrics.c b/src/src_lyrics.c
index 10d0dce51..395a24b16 100644
--- a/src/src_lyrics.c
+++ b/src/src_lyrics.c
@@ -145,6 +145,7 @@ int src_lyr_init ()
int get_lyr_by_src (int priority, char *artist, char *title)
{
+ if(src_lyr_stack->len == 0) return -1;
//if (g_array_index (src_lyr_stack, src_lyr*, priority)->check_lyr() == 0)
//{
g_array_index (src_lyr_stack, src_lyr*, priority)->get_lyr (artist, title);