]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_charinset.C
halfway through fixing size of math in non-standard sizesd paragraohs like
[features.git] / src / mathed / math_charinset.C
index 44d6884541e8ecfd12001f19e40df801db87e0bc..197f918525e1eb9cdc1e8e9eb25a1dfb874ed4f6 100644 (file)
@@ -60,19 +60,19 @@ MathInset * MathCharInset::clone() const
 
 int MathCharInset::ascent() const
 {
-       return mathed_char_ascent(code_, size(), char_);
+       return mathed_char_ascent(code_, size_, char_);
 }
 
 
 int MathCharInset::descent() const
 {
-       return mathed_char_descent(code_, size(), char_);
+       return mathed_char_descent(code_, size_, char_);
 }
 
 
 int MathCharInset::width() const
 {
-       return mathed_char_width(code_, size(), char_);
+       return mathed_char_width(code_, size_, char_);
 }
 
 
@@ -87,7 +87,7 @@ void MathCharInset::draw(Painter & pain, int x, int y) const
        xo(x);
        yo(y);
        //lyxerr << "drawing '" << char_ << "' code: " << code_ << endl;
-       drawChar(pain, code_, size_.size, x, y, char_);
+       drawChar(pain, code_, size_, x, y, char_);
 }