settings: fix copypaste error that was overwriting regex_type

This commit is contained in:
Andrzej Rybczak
2014-10-25 17:07:34 +02:00
parent 13b7bd56af
commit a7f83168ef

View File

@@ -418,8 +418,7 @@ bool Configuration::read(const std::string &config_path)
media_lib_primary_tag = MPD_TAG_PERFORMER;
else
throw std::runtime_error("invalid argument: " + v);
regex_type |= boost::regex::icase;
}, defaults_to(regex_type, boost::regex::literal | boost::regex::icase)
}, defaults_to(media_lib_primary_tag, MPD_TAG_ARTIST)
));
p.add("default_find_mode", option_parser::worker([this](std::string &&v) {
if (v == "wrapped")