From 3eed16a6cd5c50cd21e558a677cd329443b1a4b7 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Wed, 21 Jun 2000 06:19:58 +0000 Subject: Fix a bug with intial vertical scroll. 2000-06-21 Christopher James Lahey * widgets/e-text/e-text.c: Fix a bug with intial vertical scroll. svn path=/trunk/; revision=3672 --- widgets/e-text/e-text.c | 1 + widgets/text/e-text.c | 1 + 2 files changed, 2 insertions(+) (limited to 'widgets') 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)); -- cgit