diff --git a/src/insets/InsetInclude.cpp b/src/insets/InsetInclude.cpp index 56454d747f..43d2ad8528 100644 --- a/src/insets/InsetInclude.cpp +++ b/src/insets/InsetInclude.cpp @@ -449,6 +449,7 @@ int InsetInclude::latex(odocstream & os, OutputParams const & runparams) const // write it to a file (so far the complete file) string exportfile; string mangled; + // bug 5681 if (type(params()) == LISTINGS) { exportfile = incfile; mangled = DocFileName(included_file).mangledFilename();