summaryrefslogtreecommitdiff
path: root/src/bar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bar.c')
-rw-r--r--src/bar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bar.c b/src/bar.c
index cf76fef..0f2fc64 100644
--- a/src/bar.c
+++ b/src/bar.c
@@ -146,7 +146,7 @@ update_window_names (screen_info *s)
bar_buffer = sbuf_new (0);
- if(!defaults.wrap_window_list)
+ if(defaults.window_list_style == STYLE_ROW)
{
get_window_list (defaults.window_fmt, NULL, bar_buffer, &mark_start, &mark_end);
marked_message (sbuf_get (bar_buffer), mark_start, mark_end);