]> git.lyx.org Git - features.git/commitdiff
Lost in refactoring
authorGuillaume Munch <gm@lyx.org>
Sat, 7 Jan 2017 13:38:00 +0000 (14:38 +0100)
committerGuillaume Munch <gm@lyx.org>
Sat, 7 Jan 2017 13:38:00 +0000 (14:38 +0100)
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;
                }