Mercurial > pidgin.yaz
diff src/gtkimhtml.c @ 2338:2bf8a8131479
[gaim-migrate @ 2351]
i think that the <BR>'s were getting improperly drawn at times, so it should be fixed now.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Fri, 21 Sep 2001 01:58:44 +0000 |
parents | e3939d21c2f0 |
children | dd5f18429dd9 |
line wrap: on
line diff
--- a/src/gtkimhtml.c Fri Sep 21 01:47:39 2001 +0000 +++ b/src/gtkimhtml.c Fri Sep 21 01:58:44 2001 +0000 @@ -308,7 +308,8 @@ bg = imhtml->default_bg_color; } - gdk_draw_rectangle (window, gc, TRUE, line->x - xoff, line->y - yoff, line->width, line->height); + gdk_draw_rectangle (window, gc, TRUE, line->x - xoff, line->y - yoff, + line->width ? line->width : imhtml->xsize, line->height); if (!line->text) { gdk_gc_unref (gc);