]> git.lyx.org Git - lyx.git/commitdiff
Make InsetInfo output a path matching the LaTeX compiler.
authorEnrico Forestieri <forenr@lyx.org>
Wed, 7 Sep 2011 08:14:10 +0000 (08:14 +0000)
committerEnrico Forestieri <forenr@lyx.org>
Wed, 7 Sep 2011 08:14:10 +0000 (08:14 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39629 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetInfo.cpp

index 212567686771fd4d762ef71156d4d4483392d738..d78793dd8313f56be328aa26c9886e9f6a81bc32 100644 (file)
@@ -422,7 +422,7 @@ void InsetInfo::updateInfo()
                        break;
                }
                if (name_ == "path") {
-                       setText(from_utf8(buffer().filePath()));
+                       setText(from_utf8(os::latex_path(buffer().filePath())));
                        break;
                }
                if (name_ == "class") {