]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetIndex.cpp
Extend the notermination flag to math as well.
[lyx.git] / src / insets / InsetIndex.cpp
index e6335953c2ce50472d16034ef22eda0f5643c34a..02a370696174c5805793f45b27a7f9241d96440a 100644 (file)
@@ -137,7 +137,7 @@ void InsetIndex::latex(otexstream & os, OutputParams const & runparams_in) const
                        docstring spart2;
                        for (size_t n = 0; n < spart.size(); ++n) {
                                try {
-                                       spart2 += runparams.encoding->latexChar(spart[n]);
+                                       spart2 += runparams.encoding->latexChar(spart[n]).first;
                                } catch (EncodingException & /* e */) {
                                        LYXERR0("Uncodable character in index entry. Sorting might be wrong!");
                                }