]> git.lyx.org Git - features.git/commitdiff
fix compile
authorJohn Levon <levon@movementarian.org>
Sat, 29 Mar 2003 19:12:24 +0000 (19:12 +0000)
committerJohn Levon <levon@movementarian.org>
Sat, 29 Mar 2003 19:12:24 +0000 (19:12 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6643 a592a061-630c-0410-9148-cb99ea01b6c8

src/converter.C

index ce9070e7cf0a6dcc299d7364e717cbed349b48bc..405020e2ffc79c762155f6bbdb31a9eaba9bf6b7 100644 (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