]> git.lyx.org Git - features.git/blobdiff - src/insets/inset.C
more changes to bufferview, fix cursorpositioning, correct color on insetinfos
[features.git] / src / insets / inset.C
index f2515bbbc0e88a6d350ac78b534f713307942e27..430dca4c75ec27d7872d3ea3402fe8ab5819a5ae 100644 (file)
@@ -129,7 +129,7 @@ void UpdatableInset::Edit(BufferView * bv, int, int, unsigned int)
 
     scx = 0;
 
-    mx_scx = abs((width(bv->getPainter(), font) - bv->paperWidth()) / 2);
+    mx_scx = abs((width(bv->painter(), font) - bv->paperWidth()) / 2);
 }