]> git.lyx.org Git - features.git/blobdiff - src/mathed/formulamacro.C
fix redraw problem
[features.git] / src / mathed / formulamacro.C
index 1ba228702a3c4a10cce8eddae9fe354339e8d6ab..1329f24a69b0c5dbe8ac5b8c8eb9ba1eb47cce60 100644 (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;