summaryrefslogtreecommitdiffstats
path: root/resize.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2010-06-21 01:27:46 +0000
committerNicholas Marriott <nicm@openbsd.org>2010-06-21 01:27:46 +0000
commite63f0546a166c442464c7d8500a74b38c036432a (patch)
treed087ac452070d41659c6e03dcb6d2f0e04079885 /resize.c
parent447a07e9f83297bf0ad5f973e67eb32488fc1b8d (diff)
Having a list of winlinks->alerts for each session is stupid, just store
the alert flags directly in the winlink itself.
Diffstat (limited to 'resize.c')
-rw-r--r--resize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/resize.c b/resize.c
index 5635f9d4..15f99e7c 100644
--- a/resize.c
+++ b/resize.c
@@ -105,7 +105,7 @@ recalculate_sizes(void)
if (flag)
has = s->curw->window == w;
else
- has = session_has(s, w);
+ has = session_has(s, w) != NULL;
if (has) {
if (s->sx < ssx)
ssx = s->sx;