Re: [evolution-patches] Patch for Bug #46842



ops, the patch is here
Index: htmltext.c
===================================================================
RCS file: /cvs/gnome/gtkhtml/src/htmltext.c,v
retrieving revision 1.201
diff -u -p -r1.201 htmltext.c
--- htmltext.c	23 Jul 2003 17:35:22 -0000	1.201
+++ htmltext.c	25 Jul 2003 16:29:14 -0000
@@ -102,10 +102,10 @@ get_tags (const HTMLText *text,
 		nt = HTML_TEXT (next);
 
 	/* font tag */
-	std_color = html_color_equal (text->color, html_colorset_get_color (state->engine->settings->color_set,
-									     HTMLTextColor))
-		|| html_color_equal (text->color,
-				      html_colorset_get_color (state->engine->settings->color_set, HTMLLinkColor));
+	std_color = (HTML_IS_TEXT (text) && html_color_equal (text->color, html_colorset_get_color (state->engine->settings->color_set,
+												    HTMLTextColor)))
+		|| (HTML_IS_LINK_TEXT (text) && html_color_equal (text->color,
+								  html_colorset_get_color (state->engine->settings->color_set, HTMLLinkColor)));
 	std_size = (font_style & GTK_HTML_FONT_STYLE_SIZE_MASK) == 0;
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]