summaryrefslogtreecommitdiff
path: root/src/plugins/exec/exec-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/exec/exec-config.c')
-rw-r--r--src/plugins/exec/exec-config.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/plugins/exec/exec-config.c b/src/plugins/exec/exec-config.c
index 8f3eb4729..fe993dfbe 100644
--- a/src/plugins/exec/exec-config.c
+++ b/src/plugins/exec/exec-config.c
@@ -63,7 +63,12 @@ exec_config_change_command_default_options (const void *pointer, void *data,
exec_config_cmd_options = weechat_string_split (
weechat_config_string (exec_config_command_default_options),
- " ", 0, 0, &exec_config_cmd_num_options);
+ " ",
+ WEECHAT_STRING_SPLIT_STRIP_LEFT
+ | WEECHAT_STRING_SPLIT_STRIP_RIGHT
+ | WEECHAT_STRING_SPLIT_COLLAPSE_SEPS,
+ 0,
+ &exec_config_cmd_num_options);
}
/*