Fix formatting string assertion failure in the search/replace dialog. Closes #1478.
Originally committed to SVN as r6727.
This commit is contained in:
parent
c71734a8a4
commit
38e87e2c83
1 changed files with 1 additions and 1 deletions
|
@ -416,7 +416,7 @@ void SearchReplaceEngine::ReplaceAll() {
|
||||||
|
|
||||||
if (count > 0) {
|
if (count > 0) {
|
||||||
context->ass->Commit(_("replace"), AssFile::COMMIT_DIAG_TEXT);
|
context->ass->Commit(_("replace"), AssFile::COMMIT_DIAG_TEXT);
|
||||||
wxMessageBox(wxString::Format(_("%i matches were replaced."),count));
|
wxMessageBox(wxString::Format(_("%i matches were replaced."), (int)count));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
wxMessageBox(_("No matches found."));
|
wxMessageBox(_("No matches found."));
|
||||||
|
|
Loading…
Reference in a new issue