# HG changeset patch # User Eric Warmenhoven # Date 966297854 0 # Node ID 05f6f7dabb7ef0e2098eb9f8a4a4798e82befa1b # Parent 9c49d245677313c7ff3cd64e77df01bc54c451c8 [gaim-migrate @ 687] BODY BGCOLOR works again. i'm so stupid sometimes. committer: Tailor Script diff -r 9c49d2456773 -r 05f6f7dabb7e src/gtkhtml.c --- a/src/gtkhtml.c Mon Aug 14 19:44:43 2000 +0000 +++ b/src/gtkhtml.c Tue Aug 15 00:04:14 2000 +0000 @@ -3345,11 +3345,8 @@ if (sscanf(d, "%x", &colorv) && !(options & HTML_OPTION_NO_COLOURS)) { - if (colorv != 0xffffff || - !(display_options & OPT_DISP_IGN_WHITE)) { - current->color = get_color(colorv, map); - current->owncolor = 1; - } + current->color = get_color(colorv, map); + current->owncolor = 1; } else { @@ -3415,7 +3412,7 @@ { if (!strncasecmp(d, "BGCOLOR=", strlen("BGCOLOR="))) { - d += strlen("COLOR="); + d += strlen("BGCOLOR="); if (*d == '\"') d++; if (*d == '#') @@ -3425,7 +3422,7 @@ if (sscanf(d, "%x", &colorv) && !(options & HTML_OPTION_NO_COLOURS)) { - if (colorv == 0xffffff && + if (colorv != 0xffffff || !(display_options & OPT_DISP_IGN_WHITE)) { current->bgcol = get_color(colorv, map); current->ownbg = 1;