src/gtkhtml.c

changeset 1117
fcb6e7efcc0d
parent 1106
7f3041b0632a
child 1119
403e81fe3633
equal deleted inserted replaced
1116:7cc5d7d6d1e5 1117:fcb6e7efcc0d
3479 if (d[strlen(d) - 1] == '\"') 3479 if (d[strlen(d) - 1] == '\"')
3480 d[strlen(d) - 1] = 0; 3480 d[strlen(d) - 1] = 0;
3481 if (sscanf(d, "%x", &colorv) 3481 if (sscanf(d, "%x", &colorv)
3482 && !(options & HTML_OPTION_NO_COLOURS)) 3482 && !(options & HTML_OPTION_NO_COLOURS))
3483 { 3483 {
3484 current->bgcol = get_color(colorv, map); 3484 if (colorv != 0xffffff ||
3485 current->ownbg = 1; 3485 !(display_options & OPT_DISP_IGN_WHITE)) {
3486 current->bgcol = get_color(colorv, map);
3487 current->ownbg = 1;
3488 }
3486 } 3489 }
3487 else 3490 else
3488 { 3491 {
3489 } 3492 }
3490 } 3493 }

mercurial