]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathMacro.cpp
Improve the list of equations
[lyx.git] / src / mathed / MathMacro.cpp
index 64d2ee342e52052b4ced2df579df860e4b255437..1311bc9c2ce49d405f093622c72c0ded4cbdd94e 100644 (file)
@@ -840,7 +840,7 @@ MathClass MathMacro::mathClass() const
        if (MacroData const * m = macroBackup()) {
                // If it is a global macro and is defined explicitly
                if (m->symbol()) {
-                       MathClass mc = string_to_class(d->macroBackup_.symbol()->extra);
+                       MathClass mc = string_to_class(m->symbol()->extra);
                        if (mc != MC_UNKNOWN)
                                return mc;
                }