summaryrefslogtreecommitdiffstats
path: root/tmux.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2012-11-27 16:12:29 +0000
committerNicholas Marriott <nicm@openbsd.org>2012-11-27 16:12:29 +0000
commit9b8998aeec9c4dff695ae4108965677d90d9c9c7 (patch)
tree358a98012cf609e45ff77aaecc8f01000aee0425 /tmux.c
parent4aa4e9fb267a2169c6446da5cc2edaafd56b0195 (diff)
Correctly aggregate together errors from nested config files (with
source-file). Fix by Thomas Adam, reported by Sam Livingstone-Gray
Diffstat (limited to 'tmux.c')
-rw-r--r--tmux.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tmux.c b/tmux.c
index 7bce10ec..2428a404 100644
--- a/tmux.c
+++ b/tmux.c
@@ -330,6 +330,8 @@ main(int argc, char **argv)
options_init(&global_w_options, NULL);
options_table_populate_tree(window_options_table, &global_w_options);
+ ARRAY_INIT(&cfg_causes);
+
/* Enable UTF-8 if the first client is on UTF-8 terminal. */
if (flags & IDENTIFY_UTF8) {
options_set_number(&global_s_options, "status-utf8", 1);