=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/cmd-set-option.c,v retrieving revision 1.73 retrieving revision 1.74 diff -c -r1.73 -r1.74 *** src/usr.bin/tmux/cmd-set-option.c 2015/04/24 21:38:18 1.73 --- src/usr.bin/tmux/cmd-set-option.c 2015/04/24 23:17:11 1.74 *************** *** 1,4 **** ! /* $OpenBSD: cmd-set-option.c,v 1.73 2015/04/24 21:38:18 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: cmd-set-option.c,v 1.74 2015/04/24 23:17:11 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 91,97 **** struct options *oo; struct window *w; const char *optstr, *valstr; - u_int i; /* Get the option name and value. */ optstr = args->argv[0]; --- 91,96 ---- *************** *** 186,194 **** /* Update sizes and redraw. May not need it but meh. */ recalculate_sizes(); ! for (i = 0; i < ARRAY_LENGTH(&clients); i++) { ! c = ARRAY_ITEM(&clients, i); ! if (c != NULL && c->session != NULL) server_redraw_client(c); } --- 185,192 ---- /* Update sizes and redraw. May not need it but meh. */ recalculate_sizes(); ! TAILQ_FOREACH(c, &clients, entry) { ! if (c->session != NULL) server_redraw_client(c); }