pull/2/head
Darrell Anderson 12 years ago
parent 1db4f237a7
commit 2c39fddda7

@ -7161,7 +7161,7 @@ void QTextEdit::optimDoAutoScroll()
if ( doScroll )
ensureVisible( xx, yy, 1, 1 );
// if the text document is smaller than the heigth of the viewport
// if the text document is smaller than the height of the viewport
// - redraw the whole thing otherwise calculate the rect that
// needs drawing.
if ( d->od->numLines * fm.lineSpacing() < viewport()->height() ) {

Loading…
Cancel
Save