From e77ea33fd699bc17d5ccb02f028fea9a165cb6de Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 13 Jul 2010 15:36:00 -0500 Subject: stkutil: Set black fore/back ground color --- src/stkutil.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/stkutil.c b/src/stkutil.c index 522021c8..9cac8503 100644 --- a/src/stkutil.c +++ b/src/stkutil.c @@ -5957,10 +5957,8 @@ static void start_format(GString *string, guint16 attr) g_string_append(string, "text-decoration: line-through;"); /* add any color */ - if (fg) - g_string_append_printf(string, "color: %s;", html_colors[fg]); - if (bg) - g_string_append_printf(string, "background-color: %s;", + g_string_append_printf(string, "color: %s;", html_colors[fg]); + g_string_append_printf(string, "background-color: %s;", html_colors[bg]); g_string_append(string, "\">"); } -- cgit v1.2.3