]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCommandParams.cpp
Extend the notermination flag to math as well.
[lyx.git] / src / insets / InsetCommandParams.cpp
index bb4882874af1b0220dba13776023ab8e34f1250e..cc75a0eb59f502b6b79e5571e7704962c724d3f8 100644 (file)
@@ -376,7 +376,7 @@ docstring InsetCommandParams::prepareCommand(OutputParams const & runparams,
                for (size_t n = 0; n < command.size(); ++n) {
                        try {
                                char_type const c = command[n];
-                               docstring const latex = runparams.encoding->latexChar(c);
+                               docstring const latex = runparams.encoding->latexChar(c).first;
                                result += latex;
                                if (latex.length() > 1 && latex[latex.length() - 1] != '}') {
                                        // Prevent eating of a following