summaryrefslogtreecommitdiff
path: root/src/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c
index 0153704..8815b71 100644
--- a/src/window.c
+++ b/src/window.c
@@ -666,7 +666,7 @@ get_window_list (char *fmt, char *delim, struct sbuf *buffer,
sbuf_concat (buffer, delim);
if (w == current_window()) {
- if(!defaults.wrap_window_list){
+ if(defaults.window_list_style == STYLE_ROW){
*mark_end = strlen (sbuf_get (buffer));
} else {
*mark_end = strlen (sbuf_get(buffer)) - *mark_start;