summaryrefslogtreecommitdiffstats
path: root/tmux.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2017-01-12 16:01:13 +0000
committerThomas Adam <thomas@xteddy.org>2017-01-12 16:01:13 +0000
commitd4cb178249c6c73c6197e34e871c2b8e803de175 (patch)
treeb2cb82d18531f6b075f28f80d0a30756c6c9567d /tmux.c
parent1eb9500644f058113c0b108a049e05efda5e3436 (diff)
parent24cba5907b5006363ac7f83f31801153f9c23b37 (diff)
Merge branch 'obsd-master'
Diffstat (limited to 'tmux.c')
-rw-r--r--tmux.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tmux.c b/tmux.c
index b9779dd8..ad3272b0 100644
--- a/tmux.c
+++ b/tmux.c
@@ -299,7 +299,8 @@ main(int argc, char **argv)
global_s_options = options_create(NULL);
options_table_populate_tree(OPTIONS_TABLE_SESSION, global_s_options);
- options_set_string(global_s_options, "default-shell", "%s", getshell());
+ options_set_string(global_s_options, "default-shell", 0, "%s",
+ getshell());
global_w_options = options_create(NULL);
options_table_populate_tree(OPTIONS_TABLE_WINDOW, global_w_options);