diff src/gtkimhtml.c @ 1979:e43c267b1a8a

[gaim-migrate @ 1989] important oscar fixes. i hadn't considered these. other minor fixes. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sat, 09 Jun 2001 21:19:00 +0000
parents a7bfa23e80a1
children 5b79252ea95c
line wrap: on
line diff
--- a/src/gtkimhtml.c	Sat Jun 09 18:37:20 2001 +0000
+++ b/src/gtkimhtml.c	Sat Jun 09 21:19:00 2001 +0000
@@ -1345,7 +1345,7 @@
 	window = GTK_LAYOUT (imhtml)->bin_window;
 	gdk_window_get_size (window, &width, &height);
 	gdk_window_clear_area (window, 0, 0, width, BORDER_SIZE + 10);
-	gdk_window_clear_area (window, 0, height - BORDER_SIZE, width, BORDER_SIZE);
+	gdk_window_clear_area (window, 0, MAX (height - BORDER_SIZE - 10, 0), width, BORDER_SIZE + 10);
 
 	gtk_imhtml_draw_exposed (imhtml);
 }