scrollpad: pass boost::regex flags explicitly

This commit is contained in:
Andrzej Rybczak
2013-07-09 21:03:18 +02:00
parent 54d11a464c
commit 12c7dc2f5b
3 changed files with 11 additions and 10 deletions

View File

@@ -106,8 +106,8 @@ bool ArtistInfo::checkArgs(const Args &args)
void ArtistInfo::colorizeOutput(NC::Scrollpad &w)
{
w.setProperties(NC::Format::Bold, "\n\nSimilar artists:\n", NC::Format::NoBold, 0);
w.setProperties(Config.color2, "\n * ", NC::Color::End, 0);
w.setProperties(NC::Format::Bold, "\n\nSimilar artists:\n", NC::Format::NoBold, 0, boost::regex::literal);
w.setProperties(Config.color2, "\n * ", NC::Color::End, 0, boost::regex::literal);
}
bool ArtistInfo::parse(std::string &data)