]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_casesinset.C
Make Helge happy: no more crash on arrow up/down in math macro
[lyx.git] / src / mathed / math_casesinset.C
index 6c489ccddcab7a3c5a4e2c58abbcfa840e4d25ce..a21a0bfa106eb109cd03113d49ac0ece8e3c5329 100644 (file)
@@ -58,7 +58,7 @@ void MathCasesInset::metrics(MetricsInfo & mi, Dimension & dim) const
 void MathCasesInset::draw(PainterInfo & pi, int x, int y) const
 {
        mathed_draw_deco(pi, x + 1, y - dim_.ascent(), 6, dim_.height(), "{");
-       MathGridInset::draw(pi, x + 8, y);
+       MathGridInset::drawWithMargin(pi, x, y, 8, 0);
        setPosCache(pi, x, y);
 }