Mercurial > pidgin
diff src/gtkimhtml.c @ 1582:4fcd012c0a6a
[gaim-migrate @ 1592]
hrmph.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Thu, 15 Mar 2001 17:47:14 +0000 |
parents | 7ad82fa9e6ce |
children | 35a13ece3a9c |
line wrap: on
line diff
--- a/src/gtkimhtml.c Thu Mar 15 16:50:45 2001 +0000 +++ b/src/gtkimhtml.c Thu Mar 15 17:47:14 2001 +0000 @@ -2051,23 +2051,23 @@ rev = g_list_last (newbits); \ while (rev) { \ GtkIMHtmlBit *bit = rev->data; \ - if (bit->type == TYPE_BR) \ - break; \ if (bit->bg) \ gdk_color_free (bit->bg); \ bit->bg = gdk_color_copy (bg); \ + if (bit->type == TYPE_BR) \ + break; \ rev = g_list_previous (rev); \ } \ if (!rev) { \ rev = g_list_last (imhtml->bits); \ while (rev) { \ GtkIMHtmlBit *bit = rev->data; \ - if (bit->type == TYPE_BR) \ - break; \ if (bit->bg) \ gdk_color_free (bit->bg); \ bit->bg = gdk_color_copy (bg); \ gdk_color_alloc (cmap, bit->bg); \ + if (bit->type == TYPE_BR) \ + break; \ rev = g_list_previous (rev); \ } \ } \