fix redraw problem

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3991 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2002-04-12 16:29:59 +00:00
parent ba21e6498c
commit 5bd5028690

View File

@ -189,7 +189,7 @@ void InsetFormulaMacro::draw(BufferView * bv, LyXFont const & f,
pain.text(x + 2, y, prefix(), font);
// formula
par()->draw(pain, xx + lyxfont::width(prefix(), f) + 5, yo_);
par()->draw(pain, xx + lyxfont::width(prefix(), f) + 5, y);
xx += w + 2;
xo_ = x;
yo_ = y;