From: Enrico Forestieri Date: Wed, 7 Sep 2011 08:14:10 +0000 (+0000) Subject: Make InsetInfo output a path matching the LaTeX compiler. X-Git-Tag: 2.1.0beta1~2746 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=3fd8b881546fedcf36376808baebea9e3d8bcd68;p=features.git Make InsetInfo output a path matching the LaTeX compiler. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39629 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/insets/InsetInfo.cpp b/src/insets/InsetInfo.cpp index 2125676867..d78793dd83 100644 --- a/src/insets/InsetInfo.cpp +++ b/src/insets/InsetInfo.cpp @@ -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") {