scrollpad: use std::string as container

This commit is contained in:
Andrzej Rybczak
2012-10-06 02:51:07 +02:00
parent eda2ea37a9
commit 43924f88e1
12 changed files with 55 additions and 71 deletions

View File

@@ -1971,7 +1971,7 @@ void Find::Run()
Statusbar::msg("Searching...");
auto s = static_cast<Screen<NC::Scrollpad> *>(myScreen);
s->main().removeProperties();
Statusbar::msg("%s", findme.empty() || s->main().setProperties(NC::fmtReverse, ToWString(findme), NC::fmtReverseEnd) ? "Done" : "No matching patterns found");
Statusbar::msg("%s", findme.empty() || s->main().setProperties(NC::fmtReverse, findme, NC::fmtReverseEnd) ? "Done" : "No matching patterns found");
s->main().flush();
}