X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2Fmath_accentinset.C;h=81b145336d314a69d97ffe3c416d708124d105ce;hb=701697ec1382928ede1e71b6999da4e4ac331756;hp=2c12be4ad877d25d98abaa7e996d85ae44f72897;hpb=4dd6a8932e03a0f32aee1b101c610378bdeb7661;p=lyx.git diff --git a/src/mathed/math_accentinset.C b/src/mathed/math_accentinset.C index 2c12be4ad8..81b145336d 100644 --- a/src/mathed/math_accentinset.C +++ b/src/mathed/math_accentinset.C @@ -37,10 +37,8 @@ void MathAccentInset::Metrics(MathStyles st, int, int) void MathAccentInset::draw(Painter & pain, int x, int y) { - int const dw = width() - 2; xcell(0).draw(pain, x, y); - x += (code == LM_not) ? (width() - dw) / 2 : 2; - mathed_draw_deco(pain, x, y - dy, dw, dh, code); + mathed_draw_deco(pain, x, y - dy, width(), dh, code); }