fix compile

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6643 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2003-03-29 19:12:24 +00:00
parent d451eb4d82
commit 473e2d7b76

View File

@ -483,10 +483,10 @@ void alertErrors(string const & prog, int nr_errors)
s = fmt.str();
}
#else
if (num_errors == 1) {
if (nr_errors == 1) {
s = _("One error detected");
} else {
s = tostr(num_errors);
s = tostr(nr_errors);
s += _(" errors detected.");
}
#endif