aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_lyrics.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen_lyrics.c')
-rw-r--r--src/screen_lyrics.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/screen_lyrics.c b/src/screen_lyrics.c
index 6df0e5d9a..15f5721ec 100644
--- a/src/screen_lyrics.c
+++ b/src/screen_lyrics.c
@@ -37,6 +37,7 @@
#include "screen.h"
#include "screen_utils.h"
#include "easy_download.h"
+#include "strfsong.h"
#define LEOSLYRICS_SEARCH_URL "http://api.leoslyrics.com/api_search.php?auth=QuodLibet&artist=%s&songtitle=%s"
@@ -335,7 +336,7 @@ gpointer get_lyr(void *c)
parser = XML_ParserCreate(NULL);
XML_SetUserData(parser, NULL);
- int state;
+ int state = 0;
XML_SetElementHandler(parser, check_search_response, end_tag);
XML_SetCharacterDataHandler(parser, check_search_success);