summaryrefslogtreecommitdiff
path: root/src/stkutil.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-07-13 15:36:00 -0500
committerDenis Kenzior <denkenz@gmail.com>2010-07-13 15:36:00 -0500
commite77ea33fd699bc17d5ccb02f028fea9a165cb6de (patch)
treed3d24dd5d05670b3a2cef4638581c8a3bf480be7 /src/stkutil.c
parent6d8e52dda47b2ac543c56f08b0befe8a1614d673 (diff)
downloadofono-e77ea33fd699bc17d5ccb02f028fea9a165cb6de.tar.gz
stkutil: Set black fore/back ground color
Diffstat (limited to 'src/stkutil.c')
-rw-r--r--src/stkutil.c6
1 files changed, 2 insertions, 4 deletions
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, "\">");
}