]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathData.cpp
InsetMathHull.cpp: whitespace
[lyx.git] / src / mathed / MathData.cpp
index 121303f7371dfd7bd85b30565b48c72315dd2046..70b05f3223e6b00e9ba5bee0291424c8079e7bdd 100644 (file)
@@ -382,7 +382,8 @@ void MathData::updateMacros(Cursor * cur, MacroContext const & mc)
        // go over the array and look for macros
        for (size_t i = 0; i < size(); ++i) {
                MathMacro * macroInset = operator[](i).nucleus()->asMacro();
-               if (!macroInset)
+               if (!macroInset || macroInset->name_[0] == '^'
+                               || macroInset->name_[0] == '_')
                        continue;
                
                // get macro