summaryrefslogtreecommitdiffstats
path: root/src/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/qtextedit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/qtextedit.cpp b/src/widgets/qtextedit.cpp
index 3475b2bf7..c8e2c9bff 100644
--- a/src/widgets/qtextedit.cpp
+++ b/src/widgets/qtextedit.cpp
@@ -7161,7 +7161,7 @@ void TQTextEdit::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() ) {