summaryrefslogtreecommitdiff
path: root/src/gui/curses/gui-curses-bar-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/curses/gui-curses-bar-window.c')
-rw-r--r--src/gui/curses/gui-curses-bar-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/curses/gui-curses-bar-window.c b/src/gui/curses/gui-curses-bar-window.c
index bf5f7c015..19e8c9223 100644
--- a/src/gui/curses/gui-curses-bar-window.c
+++ b/src/gui/curses/gui-curses-bar-window.c
@@ -291,7 +291,7 @@ gui_bar_window_print_string (struct t_gui_bar_window *bar_window,
string += 3;
}
}
- if (str_fg[0] && (string[0] == ','))
+ if (string[0] == ',')
{
string++;
if (string[0] == GUI_COLOR_PAIR_CHAR)