aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-text
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-06-21 14:19:58 +0800
committerChris Lahey <clahey@src.gnome.org>2000-06-21 14:19:58 +0800
commit3eed16a6cd5c50cd21e558a677cd329443b1a4b7 (patch)
tree6eff1e559c641902a95cc5bc018cab54aac5b9d9 /widgets/e-text
parent56b15f58e0a3cd3bc8bc4103dcab403b49cda7b1 (diff)
downloadgsoc2013-evolution-3eed16a6cd5c50cd21e558a677cd329443b1a4b7.tar.gz
gsoc2013-evolution-3eed16a6cd5c50cd21e558a677cd329443b1a4b7.tar.zst
gsoc2013-evolution-3eed16a6cd5c50cd21e558a677cd329443b1a4b7.zip
Fix a bug with intial vertical scroll.
2000-06-21 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text/e-text.c: Fix a bug with intial vertical scroll. svn path=/trunk/; revision=3672
Diffstat (limited to 'widgets/e-text')
-rw-r--r--widgets/e-text/e-text.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/widgets/e-text/e-text.c b/widgets/e-text/e-text.c
index 70174749f8..614c87af97 100644
--- a/widgets/e-text/e-text.c
+++ b/widgets/e-text/e-text.c
@@ -2857,6 +2857,7 @@ e_text_command(ETextEventProcessor *tep, ETextEventProcessorCommand *command, gp
}
}
lines --;
+ i --;
x = gdk_text_width(text->font,
lines->text,
text->selection_end - (lines->text - text->text));