]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_decorationinset.C
halfway through fixing size of math in non-standard sizesd paragraohs like
[lyx.git] / src / mathed / math_decorationinset.C
index becc4183f45efe1600740d1d3e4d60e30ca38802..35a2515d6b07c57555e5b058544f684482abd497 100644 (file)
@@ -90,7 +90,7 @@ void MathDecorationInset::draw(Painter & pain, int x, int y) const
        if (wide()) 
                mathed_draw_deco(pain, x, y + dy_, width_, dh_, name_);
        else {
-               int w = 2 + mathed_char_width(LM_TC_VAR, size(), 'x'); 
+               int w = 2 + mathed_char_width(LM_TC_VAR, size_, 'x'); 
                mathed_draw_deco(pain, x + (width_ - w) / 2, y + dy_, w, dh_, name_);
        }
 }