Author: forenr
Date: Wed Sep  7 10:14:10 2011
New Revision: 39629
URL: http://www.lyx.org/trac/changeset/39629

Log:
Make InsetInfo output a path matching the LaTeX compiler.

Modified:
   lyx-devel/trunk/src/insets/InsetInfo.cpp

Modified: lyx-devel/trunk/src/insets/InsetInfo.cpp
==============================================================================
--- lyx-devel/trunk/src/insets/InsetInfo.cpp    Wed Sep  7 10:05:44 2011        
(r39628)
+++ lyx-devel/trunk/src/insets/InsetInfo.cpp    Wed Sep  7 10:14:10 2011        
(r39629)
@@ -422,7 +422,7 @@
                        break;
                }
                if (name_ == "path") {
-                       setText(from_utf8(buffer().filePath()));
+                       setText(from_utf8(os::latex_path(buffer().filePath())));
                        break;
                }
                if (name_ == "class") {

Reply via email to