diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-07-15 07:50:34 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-07-15 07:50:34 +0000 |
commit | ca617d679ff296a4abe0e7526d8e8cab4f87e338 (patch) | |
tree | c854ff73d8b545170ef71d2966524dcbd946720a /tmux.h | |
parent | 615d85fb23e8eea75d3c630eccc21e98dd8a8ec7 (diff) | |
download | rtmux-ca617d679ff296a4abe0e7526d8e8cab4f87e338.tar.gz rtmux-ca617d679ff296a4abe0e7526d8e8cab4f87e338.tar.bz2 rtmux-ca617d679ff296a4abe0e7526d8e8cab4f87e338.zip |
Having to update NSETOPTION/NSETWINDOWOPTION when adding new options is a bit
annoying and it is only use for iterating, so use a sentinel to mark the end of
each array instead. Different fix for a problem pointed out by Kalle Olavi
Niemitalo.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -941,8 +941,6 @@ struct set_option_entry { }; extern const struct set_option_entry set_option_table[]; extern const struct set_option_entry set_window_option_table[]; -#define NSETOPTION 26 -#define NSETWINDOWOPTION 20 /* tmux.c */ extern volatile sig_atomic_t sigwinch; |