]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetNomencl.cpp
Extend the notermination flag to math as well.
[lyx.git] / src / insets / InsetNomencl.cpp
index 7bdcfc7672cd903c963cd7b8d4737eadaf4c731b..a32191b78aa595ee79a6482d8c5723e6c92e04db 100644 (file)
@@ -279,7 +279,7 @@ docstring nomenclWidest(Buffer const & buffer, OutputParams const & runparams)
        docstring latex_symb;
        for (size_t n = 0; n < symb.size(); ++n) {
                try {
-                       latex_symb += runparams.encoding->latexChar(symb[n]);
+                       latex_symb += runparams.encoding->latexChar(symb[n]).first;
                } catch (EncodingException & /* e */) {
                        if (runparams.dryrun) {
                                latex_symb += "<" + _("LyX Warning: ")