mirror of
https://github.com/weechat/weechat.git
synced 2026-07-05 09:13:14 +02:00
Add new argument "value" to function config_new_option
This commit is contained in:
@@ -619,7 +619,7 @@ alias_config_create_option (void *data, struct t_config_file *config_file,
|
||||
weechat_config_new_option (
|
||||
config_file, section,
|
||||
option_name, "string", NULL,
|
||||
NULL, 0, 0, value, NULL, NULL,
|
||||
NULL, 0, 0, "", value, NULL, NULL,
|
||||
&alias_config_change_cb, NULL,
|
||||
&alias_config_delete_cb, NULL);
|
||||
|
||||
@@ -731,7 +731,7 @@ alias_command_cb (void *data, struct t_gui_buffer *buffer, int argc,
|
||||
weechat_config_new_option (
|
||||
alias_config_file, alias_config_section_cmd,
|
||||
alias_name, "string", NULL,
|
||||
NULL, 0, 0, argv_eol[2], NULL, NULL,
|
||||
NULL, 0, 0, "", argv_eol[2], NULL, NULL,
|
||||
&alias_config_change_cb, NULL,
|
||||
&alias_config_delete_cb, NULL);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user