comparison src/gtkhtml.c @ 499:3ebd3ca4c3d4

[gaim-migrate @ 509] <BR>:-) committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 17 Jul 2000 19:09:42 +0000
parents 56399273ed8d
children 58af37870fdd
comparison
equal deleted inserted replaced
498:6899492d9d91 499:3ebd3ca4c3d4
2693 GtkHtmlBit *hb = g_new0(GtkHtmlBit, 1); 2693 GtkHtmlBit *hb = g_new0(GtkHtmlBit, 1);
2694 GdkWindowPrivate *private = (GdkWindowPrivate *) pm; 2694 GdkWindowPrivate *private = (GdkWindowPrivate *) pm;
2695 2695
2696 last_hb = (GtkHtmlBit *) g_list_last(html->html_bits)->data; 2696 last_hb = (GtkHtmlBit *) g_list_last(html->html_bits)->data;
2697 2697
2698 /* make sure pixmaps drop down a line after a <BR> */
2699 if (last_hb->newline)
2700 html->current_y += private->height + 2;
2701
2698 hb->fit = fit; 2702 hb->fit = fit;
2699 hb->x = html->current_x; 2703 hb->x = html->current_x;
2700 hb->y = html->current_y; 2704 hb->y = html->current_y;
2701 if (fit) 2705 if (fit)
2702 hb->height = last_hb->height; 2706 hb->height = last_hb->height;