Fix for bug #7360. Patch from Nemah, posted to bug report.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38901 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2011-05-31 15:30:22 +00:00
parent d3c4bfa32a
commit 78fa6abc08

View File

@ -1046,6 +1046,10 @@ void LaTeX::deplog(DepTable & head)
continue;
}
// FIXME UNICODE: We assume that the file names in the log
// file are in the file system encoding.
token = to_utf8(from_filesystem8bit(token));
// Sometimes, filenames are broken across lines.
// We care for that and save suspicious lines.
// Here we exclude some cases where we are sure
@ -1075,10 +1079,6 @@ void LaTeX::deplog(DepTable & head)
smatch sub;
// FIXME UNICODE: We assume that the file names in the log
// file are in the file system encoding.
token = to_utf8(from_filesystem8bit(token));
// (1) "File: file.ext"
if (regex_match(token, sub, reg1)) {
// check for dot