diff options
Diffstat (limited to 'src/attic')
-rw-r--r-- | src/attic/qtmultilineedit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |