[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lyx-cvs
Subject:    r38901 - lyx-devel/trunk/src
From:       rgheck () lyx ! org
Date:       2011-05-31 15:30:22
Message-ID: 20110531153022.9AAA830C60 () lyx ! lyx ! org
[Download RAW message or body]

Author: rgheck
Date: Tue May 31 17:30:22 2011
New Revision: 38901
URL: http://www.lyx.org/trac/changeset/38901

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

Modified:
   lyx-devel/trunk/src/LaTeX.cpp

Modified: lyx-devel/trunk/src/LaTeX.cpp
==============================================================================
--- lyx-devel/trunk/src/LaTeX.cpp	Tue May 31 17:21:23 2011	(r38900)
+++ lyx-devel/trunk/src/LaTeX.cpp	Tue May 31 17:30:22 2011	(r38901)
@@ -1046,6 +1046,10 @@
 			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 @@
 
 		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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic