]> git.lyx.org Git - lyx.git/blobdiff - src/text.C
Painter and scrollbar API patches
[lyx.git] / src / text.C
index 214207ca0aaf3b51aa8a47c150e3fbdfdc295742..6ee09775462a58457e15366198ffa605fd1ef4c3 100644 (file)
@@ -3034,7 +3034,7 @@ bool LyXText::paintRowBackground(DrawRowParams & p)
 
        pos_type const last = rowLastPrintable(p.row);
 
-       if (!p.bv->screen()->forceClear() && last == p.row->pos()
+       if (!p.bv->screen().forceClear() && last == p.row->pos()
                && p.row->par()->isInset(p.row->pos())) {
                inset = p.row->par()->getInset(p.row->pos());
                if (inset) {