diff options
author | Tiago Cunha <tcunha@gmx.com> | 2010-06-22 23:26:18 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2010-06-22 23:26:18 +0000 |
commit | 47b335dee7e794135e03cc0f5806483e55572b9f (patch) | |
tree | 39d927f0bd705e3630c9b23aff1e6f575fcce121 /resize.c | |
parent | 6c767242016a1288cf412cfcf4aff68ebec2714a (diff) | |
download | rtmux-47b335dee7e794135e03cc0f5806483e55572b9f.tar.gz rtmux-47b335dee7e794135e03cc0f5806483e55572b9f.tar.bz2 rtmux-47b335dee7e794135e03cc0f5806483e55572b9f.zip |
Sync OpenBSD patchset 724:
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: resize.c,v 1.24 2009-09-25 17:47:42 tcunha Exp $ */ +/* $Id: resize.c,v 1.25 2010-06-22 23:26:18 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -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; |