mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Lost in refactoring
This commit is contained in:
parent
4590f1016b
commit
ca6bc682e4
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user