X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FMathClass.cpp;h=f000a3e114b6296bf1b8fdbe186f28efeb4557b5;hb=faeb1997932dd60909ebe7c7883a5c8fbfe81e8c;hp=a46aad3794d0d6f2ecc7f2a2cf791f1c3cd56c33;hpb=f643ae700700cbd9aa0b1aca8155c6d7f2aee34d;p=lyx.git diff --git a/src/mathed/MathClass.cpp b/src/mathed/MathClass.cpp index a46aad3794..f000a3e114 100644 --- a/src/mathed/MathClass.cpp +++ b/src/mathed/MathClass.cpp @@ -146,7 +146,7 @@ int class_spacing(MathClass const mc1, MathClass const mc2, //lyxerr << class_to_string(mc1) << "+" << class_to_string(mc2) // << "=" << spc_code << " @" << mb.style << endl; if (spc_code < 0) { - switch (mb.style) { + switch (mb.font.style()) { case LM_ST_DISPLAY: case LM_ST_TEXT: spc_code = abs(spc_code);