]> git.lyx.org Git - lyx.git/blobdiff - src/Encoding.cpp
More general fix for part of 5403.
[lyx.git] / src / Encoding.cpp
index afaff6db41397086b25075aec473695b6e596f0b..34cee34bae69beb56e95e4543d17ac1504232115 100644 (file)
@@ -422,7 +422,7 @@ char_type Encodings::fromLaTeXCommand(docstring const & cmd, bool & combining)
 {
        CharInfoMap::const_iterator const end = unicodesymbols.end();
        CharInfoMap::const_iterator it = unicodesymbols.begin();
-       for (; it != end; ++it) {
+       for (combining = false; it != end; ++it) {
                docstring const math = it->second.mathcommand;
                docstring const text = it->second.textcommand;
                if (math == cmd || text == cmd) {