mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
Simplify appending to string options.
This commit is contained in:
3
tmux.c
3
tmux.c
@ -295,7 +295,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);
|
||||
|
Reference in New Issue
Block a user