]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetInfo.cpp
Yet another unused variable.
[lyx.git] / src / insets / InsetInfo.cpp
index 335e1b6a103339a0298d560f1bdf9741c2a4f698..d78793dd8313f56be328aa26c9886e9f6a81bc32 100644 (file)
@@ -39,6 +39,7 @@
 #include "support/filetools.h"
 #include "support/gettext.h"
 #include "support/lstrings.h"
+#include "support/Translator.h"
 
 #include <sstream>
 
@@ -421,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") {