From c740211ffba3330d951f4c3ddefea8edf23a01cd Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 7 May 2013 21:58:34 -0500 Subject: Automated update from Qt3 --- src/attic/qtmultilineedit.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/attic') diff --git a/src/attic/qtmultilineedit.cpp b/src/attic/qtmultilineedit.cpp index 1a93c8b2b..8361bedcd 100644 --- a/src/attic/qtmultilineedit.cpp +++ b/src/attic/qtmultilineedit.cpp @@ -1454,7 +1454,7 @@ void TQtMultiLineEdit::pageDown( bool mark ) int pageSize = viewHeight() / cellHeight(); int newTopCell = TQMIN( topCell() + pageSize, numLines() - 1 - pageSize ); - if ( pageSize >= numLines() ) { // tquick fix to handle small texts + if ( pageSize >= numLines() ) { // quick fix to handle small texts newTopCell = topCell(); } if ( !curXPos ) @@ -1506,7 +1506,7 @@ void TQtMultiLineEdit::pageUp( bool mark ) int pageSize = viewHeight() / cellHeight(); bool partial = delta == pageSize && viewHeight() != pageSize * cellHeight(); int newTopCell = TQMAX( topCell() - pageSize, 0 ); - if ( pageSize > numLines() ) { // tquick fix to handle small texts + if ( pageSize > numLines() ) { // quick fix to handle small texts newTopCell = 0; delta = 0; } -- cgit v1.2.3