From 0766f94ee0d2f4aa35cfc636183c6e98486847f7 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Sat, 14 Dec 2013 13:19:40 +0100 Subject: [PATCH] Recognize changed babel error message (rewording) --- src/LaTeX.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/LaTeX.cpp b/src/LaTeX.cpp index 294f09e273..e4a23af117 100644 --- a/src/LaTeX.cpp +++ b/src/LaTeX.cpp @@ -816,9 +816,11 @@ int LaTeX::scanLogFile(TeXErrors & terr) // we have a latex error retval |= TEX_ERROR; if (contains(desc, - "Package babel Error: You haven't defined the language") || - contains(desc, - "Package babel Error: You haven't loaded the option")) + "Package babel Error: You haven't defined the language") + || contains(desc, + "Package babel Error: You haven't loaded the option") + || contains(desc, + "Package babel Error: Unknown language")) retval |= ERROR_RERUN; // get the line number: int line = 0;