From e63f0546a166c442464c7d8500a74b38c036432a Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 21 Jun 2010 01:27:46 +0000 Subject: Having a list of winlinks->alerts for each session is stupid, just store the alert flags directly in the winlink itself. --- resize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'resize.c') 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; -- cgit