changeset 492:56399273ed8d

[gaim-migrate @ 502] smileys don't get cut off anymore committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 14 Jul 2000 01:25:45 +0000
parents dcf5fe44396a
children ca775ce7ff11
files src/gtkhtml.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkhtml.c	Thu Jul 13 21:34:53 2000 +0000
+++ b/src/gtkhtml.c	Fri Jul 14 01:25:45 2000 +0000
@@ -2096,8 +2096,7 @@
 	{
 		gdk_gc_set_background(gc, &widget->style->base[GTK_STATE_NORMAL]);
 		gdk_draw_pixmap(html->html_area, gc, hb->pm, 0, 0, hb->x,
-						hb->y - html->yoffset - (hb->height) + 4, hb->width,
-						hb->height - 2);
+						hb->y - html->yoffset - (hb->height) + 4, -1, -1);
 	}
 }
 
@@ -2938,7 +2937,8 @@
 				hb = (GtkHtmlBit *) hbits->data;
 				if (hb->y != y)
 					break;
-				hb->height = height;
+				if (hb->type != HTML_BIT_PIXMAP)
+					hb->height = height;
 				hb->y += diff;  ////////////my thing here /////////////////
 				gtk_html_draw_bit(html, hb, FALSE);