aboutsummaryrefslogtreecommitdiff
path: root/window-choose.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2017-02-16 12:01:21 +0000
committerThomas Adam <thomas@xteddy.org>2017-02-16 12:01:21 +0000
commitf734d81074c6bd587b36c7d49dc359821412c29c (patch)
tree1e7ee13c6355697f62c20ec15edbc9c7ded2726e /window-choose.c
parentc9f2dc5ee5ffc2d71f492b23ff1ee80619c12258 (diff)
parent8b8d0963da522c3a0ac4e99dc9264b6fda2b477a (diff)
downloadrtmux-f734d81074c6bd587b36c7d49dc359821412c29c.tar.gz
rtmux-f734d81074c6bd587b36c7d49dc359821412c29c.tar.bz2
rtmux-f734d81074c6bd587b36c7d49dc359821412c29c.zip
Merge branch 'obsd-master'
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, ' ');