]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetInclude.cpp
Fix the guiName of external insets.
[lyx.git] / src / insets / InsetInclude.cpp
index 324b4a07628f9ae9f6fff7c503fdebe9ce06daa2..fbabcc8b50b5f0770ef05df3f41a719757f82530 100644 (file)
@@ -693,8 +693,8 @@ void InsetInclude::latex(otexstream & os, OutputParams const & runparams) const
                        os << '\\' << from_ascii(params().getCmdName())
                           << '{' << from_utf8(incfile) << '}';
                } else {
-               incfile = changeExtension(incfile, ".tex");
-               incfile = latex_path(incfile);
+                       incfile = changeExtension(incfile, ".tex");
+                       incfile = latex_path(incfile);
                        // FIXME UNICODE
                        os << '\\' << from_ascii(params().getCmdName())
                           << '{' << from_utf8(incfile) <<  '}';