]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetListings.cpp
Fix wrong listings preamble encoding (bug #9382)
[features.git] / src / insets / InsetListings.cpp
index 3d8225e08af4c95bad4e59025f55c568acc34917..e9a89cf5203ff00df5e007339638abc81351abff 100644 (file)
@@ -145,6 +145,8 @@ void InsetListings::latex(otexstream & os, OutputParams const & runparams) const
                // listings package cannot deal with multi-byte-encoded
                // glyphs (not needed with full-unicode aware backends
                // such as XeTeX).
+               // This needs to be consistent with
+               // LaTeXFeatures::getTClassI18nPreamble().
                Language const * const outer_language =
                        (runparams.local_font != 0) ?
                                runparams.local_font->language()