Merge branch 'master' of github.com:tmux/tmux

pull/218/head
Nicholas Marriott 2015-11-24 18:50:24 +00:00
commit 0a2ef2b932
2 changed files with 3 additions and 0 deletions

View File

@ -891,6 +891,8 @@ options_table_populate_tree(enum options_table_scope scope, struct options *oo)
const struct options_table_entry *oe;
for (oe = options_table; oe->name != NULL; oe++) {
if (oe->scope == OPTIONS_TABLE_NONE)
fatalx("no scope for %s", oe->name);
if (oe->scope != scope)
continue;
switch (oe->type) {

1
tmux.h
View File

@ -1396,6 +1396,7 @@ enum options_table_type {
OPTIONS_TABLE_STYLE
};
enum options_table_scope {
OPTIONS_TABLE_NONE,
OPTIONS_TABLE_SERVER,
OPTIONS_TABLE_SESSION,
OPTIONS_TABLE_WINDOW,