summaryrefslogtreecommitdiff
path: root/src/gui/gui-bar-item.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/gui-bar-item.c')
-rw-r--r--src/gui/gui-bar-item.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/gui-bar-item.c b/src/gui/gui-bar-item.c
index ab1d3fb13..98534da0f 100644
--- a/src/gui/gui-bar-item.c
+++ b/src/gui/gui-bar-item.c
@@ -380,8 +380,9 @@ gui_bar_item_get_value (const char *name, struct t_gui_bar *bar,
if (CONFIG_COLOR(bar->options[GUI_BAR_OPTION_COLOR_DELIM]) & GUI_COLOR_PAIR_FLAG)
{
snprintf (delimiter_color, sizeof (delimiter_color),
- "%c%c%05d",
+ "%c%c%c%05d",
GUI_COLOR_COLOR_CHAR,
+ GUI_COLOR_FG_CHAR,
GUI_COLOR_PAIR_CHAR,
CONFIG_COLOR(bar->options[GUI_BAR_OPTION_COLOR_DELIM]) & GUI_COLOR_PAIR_MASK);
}
@@ -396,8 +397,9 @@ gui_bar_item_get_value (const char *name, struct t_gui_bar *bar,
if (CONFIG_COLOR(bar->options[GUI_BAR_OPTION_COLOR_FG]) & GUI_COLOR_PAIR_FLAG)
{
snprintf (bar_color, sizeof (bar_color),
- "%c%c%05d",
+ "%c%c%c%05d",
GUI_COLOR_COLOR_CHAR,
+ GUI_COLOR_FG_CHAR,
GUI_COLOR_PAIR_CHAR,
CONFIG_COLOR(bar->options[GUI_BAR_OPTION_COLOR_FG]) & GUI_COLOR_PAIR_MASK);
}