default:
LASSERT(false, /**/);
}
- static const ParamInfo pi;
+ static ParamInfo pi;
return pi; // to silence the warning
}
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