X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmathed%2Fmath_macrotemplate.C;h=1342198e05ff367f8e07d9d80bcd1a74c3a7cd85;hb=a8e8e755fc32233e91bf787d5032fd81147d0909;hp=4f1ae017ecda13724097afeded1e4c8464703418;hpb=30aa0e30b6d0b0426550eab91cd2bcc168fa706f;p=lyx.git diff --git a/src/mathed/math_macrotemplate.C b/src/mathed/math_macrotemplate.C index 4f1ae017ec..1342198e05 100644 --- a/src/mathed/math_macrotemplate.C +++ b/src/mathed/math_macrotemplate.C @@ -66,9 +66,9 @@ void MathMacroTemplate::metrics(MetricsInfo & mi) const { cell(0).metrics(mi); cell(1).metrics(mi); - dim_.w = cell(0).width() + cell(1).width() + 10; - dim_.a = std::max(cell(0).ascent(), cell(1).ascent()) + 2; - dim_.d = std::max(cell(0).descent(), cell(1).descent()) + 2; + dim_.wid = cell(0).width() + cell(1).width() + 10; + dim_.asc = std::max(cell(0).ascent(), cell(1).ascent()) + 2; + dim_.des = std::max(cell(0).descent(), cell(1).descent()) + 2; }