# HG changeset patch # User Eric Warmenhoven # Date 968885369 0 # Node ID b2ce6a6a86336a61c8a7aeb6b72874a38b89b9c2 # Parent ced01cdf0e33a80a890bf3a73a11f02d107df14f [gaim-migrate @ 907] cover up those white lines. should do this for separators too but i'm lazy. committer: Tailor Script diff -r ced01cdf0e33 -r b2ce6a6a8633 src/gtkhtml.c --- a/src/gtkhtml.c Wed Sep 13 21:04:34 2000 +0000 +++ b/src/gtkhtml.c Wed Sep 13 22:49:29 2000 +0000 @@ -2048,13 +2048,20 @@ if (hb->text && hb->back != NULL && selected_state != GTK_STATE_SELECTED) { - int hwidth, hheight, hei; + int hwidth, hheight, hei, tmpcnt; hei = get_line_height(html, hb); gdk_window_get_size(html->html_area, &hwidth, &hheight); gdk_gc_set_foreground(gc, hb->back); gdk_draw_rectangle(html->html_area, gc, TRUE /* filled */, hb->x, hb->y - html->yoffset - hei - 6, hwidth - shift - hb->x + 1, hei + hei + 2); + for (tmpcnt = 1; tmpcnt < hb->newline; tmpcnt++) { + int eoff = hei + hei + 2; + eoff *= tmpcnt; + gdk_draw_rectangle(html->html_area, gc, TRUE, + 1, hb->y - html->yoffset - hei - 6 + eoff, + hwidth, hei + hei + 2); + } } if (hb->fore != NULL) @@ -2244,7 +2251,7 @@ clear_area(html, &area); - (html, html->cursor_hb, 1); + gtk_html_draw_bit(html, html->cursor_hb, 1); }