Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
2337:e3939d21c2f0 | 2338:2bf8a8131479 |
---|---|
306 gdk_color_alloc (cmap, imhtml->default_bg_color); | 306 gdk_color_alloc (cmap, imhtml->default_bg_color); |
307 gdk_gc_set_foreground (gc, imhtml->default_bg_color); | 307 gdk_gc_set_foreground (gc, imhtml->default_bg_color); |
308 bg = imhtml->default_bg_color; | 308 bg = imhtml->default_bg_color; |
309 } | 309 } |
310 | 310 |
311 gdk_draw_rectangle (window, gc, TRUE, line->x - xoff, line->y - yoff, line->width, line->height); | 311 gdk_draw_rectangle (window, gc, TRUE, line->x - xoff, line->y - yoff, |
312 line->width ? line->width : imhtml->xsize, line->height); | |
312 | 313 |
313 if (!line->text) { | 314 if (!line->text) { |
314 gdk_gc_unref (gc); | 315 gdk_gc_unref (gc); |
315 return; | 316 return; |
316 } | 317 } |