aboutsummaryrefslogtreecommitdiff
path: root/window-choose.c
diff options
context:
space:
mode:
Diffstat (limited to 'window-choose.c')
-rw-r--r--window-choose.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/window-choose.c b/window-choose.c
index b7647d2a..7daddc6f 100644
--- a/window-choose.c
+++ b/window-choose.c
@@ -910,7 +910,7 @@ window_choose_write_line(struct window_pane *wp, struct screen_write_ctx *ctx,
* expanded or not.
*/
(item->wcd->type & TREE_SESSION) ?
- (item->state & TREE_EXPANDED ? "-" : "+") : "", item->name);
+ ((item->state & TREE_EXPANDED) ? "-" : "+") : "", item->name);
}
while (s->cx < screen_size_x(s) - 1)
screen_write_putc(ctx, &gc, ' ');