diff src/gtkimhtml.c @ 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 98c434792ab7
children 2bf8a8131479
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) {