gcc warning fix, please verify.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27474 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-11-15 18:54:39 +00:00
parent 8e2f971ada
commit 7264a4a60c

View File

@ -632,8 +632,8 @@ int LaTeX::scanLogFile(TeXErrors & terr)
LYXERR(Debug::LATEX, "We should rerun.");
retval |= RERUN;
}
} else if (prefixIs(token, "! ") ||
fle_style && regex_match(token, sub, file_line_error)) {
} else if (prefixIs(token, "! ")
|| (fle_style && regex_match(token, sub, file_line_error))) {
// Ok, we have something that looks like a TeX Error
// but what do we really have.