=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/Attic/cmd-show-window-options.c,v retrieving revision 1.3 retrieving revision 1.4 diff -c -r1.3 -r1.4 *** src/usr.bin/tmux/Attic/cmd-show-window-options.c 2009/07/13 23:11:35 1.3 --- src/usr.bin/tmux/Attic/cmd-show-window-options.c 2009/07/15 07:50:34 1.4 *************** *** 1,4 **** ! /* $OpenBSD: cmd-show-window-options.c,v 1.3 2009/07/13 23:11:35 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: cmd-show-window-options.c,v 1.4 2009/07/15 07:50:34 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott *************** *** 49,55 **** struct winlink *wl; struct options *oo; const struct set_option_entry *entry; - u_int i; char *vs; long long vn; --- 49,54 ---- *************** *** 61,69 **** oo = &wl->window->options; } ! for (i = 0; i < NSETWINDOWOPTION; i++) { ! entry = &set_window_option_table[i]; ! if (options_find1(oo, entry->name) == NULL) continue; --- 60,66 ---- oo = &wl->window->options; } ! for (entry = set_window_option_table; entry->name != NULL; entry++) { if (options_find1(oo, entry->name) == NULL) continue;