diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-06-21 14:19:58 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-06-21 14:19:58 +0800 |
commit | 3eed16a6cd5c50cd21e558a677cd329443b1a4b7 (patch) | |
tree | 6eff1e559c641902a95cc5bc018cab54aac5b9d9 /widgets | |
parent | 56b15f58e0a3cd3bc8bc4103dcab403b49cda7b1 (diff) | |
download | gsoc2013-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')
-rw-r--r-- | widgets/e-text/e-text.c | 1 | ||||
-rw-r--r-- | widgets/text/e-text.c | 1 |
2 files changed, 2 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)); diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c index 70174749f8..614c87af97 100644 --- a/widgets/text/e-text.c +++ b/widgets/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)); |