]> git.lyx.org Git - features.git/commitdiff
Const a function parameter
authorScott Kostyshak <skostysh@lyx.org>
Fri, 29 Jul 2016 17:07:00 +0000 (13:07 -0400)
committerScott Kostyshak <skostysh@lyx.org>
Fri, 29 Jul 2016 17:09:54 +0000 (13:09 -0400)
src/BufferView.cpp

index f02cb6668613fba7a97ca28763d0cbf8dfc5a472..900114384f738d4f2f4cf8e126f43fd95978e16f 100644 (file)
@@ -873,7 +873,7 @@ void BufferView::scrollToCursor()
 }
 
 
-bool BufferView::scrollToCursor(DocIterator const & dit, bool recenter)
+bool BufferView::scrollToCursor(DocIterator const & dit, bool const recenter)
 {
        // We are not properly started yet, delay until resizing is
        // done.