comparison src/gtkhtml.c @ 667:45ed2ca0756e

[gaim-migrate @ 677] ignore white bg committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 11 Aug 2000 03:17:31 +0000
parents 71ea550c22ac
children e871081839d0
comparison
equal deleted inserted replaced
666:71ea550c22ac 667:45ed2ca0756e
3420 if (d[strlen(d) - 1] == '\"') 3420 if (d[strlen(d) - 1] == '\"')
3421 d[strlen(d) - 1] = 0; 3421 d[strlen(d) - 1] = 0;
3422 if (sscanf(d, "%x", &colorv) 3422 if (sscanf(d, "%x", &colorv)
3423 && !(options & HTML_OPTION_NO_COLOURS)) 3423 && !(options & HTML_OPTION_NO_COLOURS))
3424 { 3424 {
3425 current->bgcol = get_color(colorv, map); 3425 if (colorv == 0xffffff &&
3426 current->ownbg = 1; 3426 !(display_options & OPT_DISP_IGN_WHITE)) {
3427 current->bgcol = get_color(colorv, map);
3428 current->ownbg = 1;
3429 }
3427 } 3430 }
3428 } 3431 }
3429 else if (!strncasecmp(tag, "/FONT", strlen("/FONT"))) 3432 else if (!strncasecmp(tag, "/FONT", strlen("/FONT")))
3430 { 3433 {
3431 /* 3434 /*