changeset 2337:e3939d21c2f0

[gaim-migrate @ 2350] fix the selection thing where if you drag it past where the text is it keeps going and it causes weird things to happen. this feels much more solid. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 21 Sep 2001 01:47:39 +0000
parents c6c5eaf69188
children 2bf8a8131479
files src/gtkimhtml.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkimhtml.c	Fri Sep 21 00:57:13 2001 +0000
+++ b/src/gtkimhtml.c	Fri Sep 21 01:47:39 2001 +0000
@@ -1209,7 +1209,7 @@
 								imhtml);
 			diff = (yy < 0) ? (yy / 2) : ((yy - height) / 2);
 			gtk_adjustment_set_value (vadj,
-						  MIN (vadj->value + diff, vadj->upper - height + 20));
+						  MIN (vadj->value + diff, vadj->upper - height));
 		}
 
 		if (imhtml->selection) {