From db0b42b5dae7a774a64a6e5caed9b410bd56cdc7 Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Fri, 27 Mar 2009 14:16:56 +0100 Subject: [PATCH] fix fetching lyrics without threads --- src/lyrics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lyrics.cpp b/src/lyrics.cpp index e97237a3..f1e6e1be 100644 --- a/src/lyrics.cpp +++ b/src/lyrics.cpp @@ -177,7 +177,7 @@ void Lyrics::SwitchTo() Downloader = new pthread_t; pthread_create(Downloader, 0, Get, this); # elif defined(HAVE_CURL_CURL_H) - Get(&itsSong); + Get(this); w->Flush(); # else *w << "Local lyrics not found. As ncmpcpp has been compiled without curl support, you can put appropriate lyrics into " << Folder << " directory (file syntax is \"$ARTIST - $TITLE.txt\") or recompile ncmpcpp with curl support.";