]> git.lyx.org Git - features.git/blobdiff - src/BufferView.cpp
Fix for bug #11974
[features.git] / src / BufferView.cpp
index f7f2d3555e8cd49007742ad549dd2bb885456aba..e4b710241eb9fb4b5c7e36c8e5ebe9b04e9dad0a 100644 (file)
@@ -583,7 +583,7 @@ void BufferView::processUpdateFlags(Update::flags flags)
 }
 
 
-void BufferView::updateScrollbar()
+void BufferView::updateScrollbarParameters()
 {
        if (height_ == 0 && width_ == 0)
                return;
@@ -3483,7 +3483,7 @@ void BufferView::draw(frontend::Painter & pain, bool paint_caret)
 
        // The scrollbar needs an update.
        // FIXME: does it always? see ticket #11947.
-       updateScrollbar();
+       updateScrollbarParameters();
 
        // Normalize anchor for next time
        pair<pit_type, ParagraphMetrics const *> firstpm = tm.first();