From ca617d679ff296a4abe0e7526d8e8cab4f87e338 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 15 Jul 2009 07:50:34 +0000 Subject: 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. --- tmux.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index 680a4ee1..533a8797 100644 --- a/tmux.h +++ b/tmux.h @@ -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; -- cgit