]> git.lyx.org Git - features.git/blobdiff - src/mathed/formula.C
Changed functioncall to MathedCursor::SelGetArea as we always returned the
[features.git] / src / mathed / formula.C
index 7ea0de4ddfdec6e8295f5dd6aa358e9b5e5dccd7..66641c6258e2bd76077f1dd3c1d551df81754d87 100644 (file)
@@ -496,7 +496,7 @@ void InsetFormula::draw(Painter & pain, LyXFont const &,
                        int n;
                        int * xp = 0;
                        int * yp = 0;
-                       mathcursor->SelGetArea(xp, yp, n);
+                       mathcursor->SelGetArea(&xp, &yp, n);
                        pain.fillPolygon(xp, yp, n, LColor::selection);
                }
                mathcursor->draw(pain, int(x), baseline);