fix compilation --without-curl

master
Andrzej Rybczak 17 years ago
parent 75f9f840f7
commit caac726891
  1. 2
      src/settings.cpp

@ -805,6 +805,7 @@ void ReadConfiguration(ncmpcpp_config &conf)
{ {
conf.regex_type = REG_EXTENDED * (v != "basic"); conf.regex_type = REG_EXTENDED * (v != "basic");
} }
# ifdef HAVE_CURL_CURL_H
else if (cl.find("lyrics_database") != std::string::npos) else if (cl.find("lyrics_database") != std::string::npos)
{ {
if (!v.empty()) if (!v.empty())
@ -813,6 +814,7 @@ void ReadConfiguration(ncmpcpp_config &conf)
conf.lyrics_db = n < Lyrics::DBs ? n : 0; conf.lyrics_db = n < Lyrics::DBs ? n : 0;
} }
} }
# endif // HAVE_CURL_CURL_H
else if (cl.find("lines_scrolled") != std::string::npos) else if (cl.find("lines_scrolled") != std::string::npos)
{ {
if (!v.empty()) if (!v.empty())

Loading…
Cancel
Save