From eea39a8e426f662c42eddaf7faa732aff31c18d4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Wed, 13 Mar 2002 11:22:01 +0000 Subject: [PATCH] don't draw spaces... git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3739 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/math_support.C | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/mathed/math_support.C b/src/mathed/math_support.C index 9ea3366ef3..9723377468 100644 --- a/src/mathed/math_support.C +++ b/src/mathed/math_support.C @@ -760,15 +760,9 @@ void drawChar(Painter & pain, MathTextCodes type, MathMetricsInfo const & size, { LyXFont font; whichFont(font, type, size); - if (isBinaryOp(c, type)) { - pain.text(x, y, ' ', font); + if (isBinaryOp(c, type)) x += lyxfont::width(' ', font); - pain.text(x, y, c, font); - x += lyxfont::width(c, font); - pain.text(x, y, ' ', font); - } else { - pain.text(x, y, c, font); - } + pain.text(x, y, c, font); } -- 2.39.5