aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/text
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/text')
-rw-r--r--widgets/text/e-text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c
index f31b27dfa9..976e3a5a3d 100644
--- a/widgets/text/e-text.c
+++ b/widgets/text/e-text.c
@@ -1224,7 +1224,7 @@ show_pango_rectangle (EText *text, PangoRectangle rect)
if (clip_height >= 0) {
if (2 + y2 - clip_height > new_yofs_edit)
- new_yofs_edit = y2 - clip_height;
+ new_yofs_edit = 2 + y2 - clip_height;
} else {
new_yofs_edit = 0;
}