| 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 } |