]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathFactory.cpp
Only set buffer if it is not null.
[lyx.git] / src / mathed / MathFactory.cpp
index 54fe012857007c3a554ba66e05ba0fba05f3fae4..20720f1fceccdf9a378b2433be1e66e00b99b513 100644 (file)
@@ -203,7 +203,7 @@ void initSymbols()
                        } else
                                htmlname = xmlname = "";
                        MacroTable::iterator it = MacroTable::globalMacros().insert(
-                                       0, from_utf8(macro));
+                                       nullptr, from_utf8(macro));
                        if (!extra.empty() || !htmlname.empty() || !xmlname.empty() || !required.empty()) {
                                MathWordList::iterator wit = theMathWordList.find(it->first);
                                if (wit != theMathWordList.end())