diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-07-13 15:36:00 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-07-13 15:36:00 -0500 |
commit | e77ea33fd699bc17d5ccb02f028fea9a165cb6de (patch) | |
tree | d3d24dd5d05670b3a2cef4638581c8a3bf480be7 /src | |
parent | 6d8e52dda47b2ac543c56f08b0befe8a1614d673 (diff) | |
download | ofono-e77ea33fd699bc17d5ccb02f028fea9a165cb6de.tar.bz2 |
stkutil: Set black fore/back ground color
Diffstat (limited to 'src')
-rw-r--r-- | src/stkutil.c | 6 |
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, "\">"); } |