remove wrapper for Scrollpad::SetFormating() used with --enable-unicode

This commit is contained in:
Andrzej Rybczak
2009-09-16 22:21:17 +00:00
parent cf3f8350c0
commit 6723808c4f
3 changed files with 3 additions and 5 deletions

View File

@@ -1724,7 +1724,7 @@ int main(int argc, char *argv[])
ShowMessage("Searching...");
Screen<Scrollpad> *s = static_cast<Screen<Scrollpad> *>(myScreen);
s->Main()->RemoveFormatting();
ShowMessage("%s", s->Main()->SetFormatting(fmtReverse, findme, fmtReverseEnd) || findme.empty() ? "Done!" : "No matching patterns found");
ShowMessage("%s", s->Main()->SetFormatting(fmtReverse, TO_WSTRING(findme), fmtReverseEnd) || findme.empty() ? "Done!" : "No matching patterns found");
s->Main()->Flush();
}
}