fix fetching lyrics without threads

master
Andrzej Rybczak 17 years ago
parent e29e5576c7
commit db0b42b5da
  1. 2
      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.";

Loading…
Cancel
Save