Fix formatting string assertion failure in the search/replace dialog. Closes #1478.

Originally committed to SVN as r6727.
This commit is contained in:
Thomas Goyne 2012-04-27 19:08:09 +00:00
parent c71734a8a4
commit 38e87e2c83
1 changed files with 1 additions and 1 deletions

View File

@ -416,7 +416,7 @@ void SearchReplaceEngine::ReplaceAll() {
if (count > 0) {
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 {
wxMessageBox(_("No matches found."));