diff src/gtkhtml.c @ 1117:f3e0f41beddb

[gaim-migrate @ 1127] Removed the old, crappy spellchecker code; replaced to use gtkspell. works much better. got gtkspell.[ch] out of gtkspell's cvs repository. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 21 Nov 2000 09:50:31 +0000
parents 5bc8fdacd2cb
children ba292594e938
line wrap: on
line diff
--- a/src/gtkhtml.c	Tue Nov 21 01:11:27 2000 +0000
+++ b/src/gtkhtml.c	Tue Nov 21 09:50:31 2000 +0000
@@ -3481,8 +3481,11 @@
 							if (sscanf(d, "%x", &colorv)
 								&& !(options & HTML_OPTION_NO_COLOURS))
 							{
-								current->bgcol = get_color(colorv, map);
-								current->ownbg = 1;
+								if (colorv != 0xffffff ||
+								    !(display_options & OPT_DISP_IGN_WHITE)) {
+									current->bgcol = get_color(colorv, map);
+									current->ownbg = 1;
+								}
 							}
 							else
 							{