1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-30 14:56:39 +02:00

core: use type "enum" in options

This commit is contained in:
Sébastien Helleu
2023-07-06 21:16:56 +02:00
parent 66cb9f6ea2
commit 481e8f197d
37 changed files with 215 additions and 215 deletions
+2 -2
View File
@@ -54,7 +54,7 @@ struct t_trigger_context
trigger->hook_count_cb++; \
trigger->hook_running = 1; \
trigger_rc = trigger_return_code[ \
weechat_config_integer ( \
weechat_config_enum ( \
trigger->options[TRIGGER_OPTION_RETURN_CODE])];
#define TRIGGER_CALLBACK_CB_NEW_POINTERS \
@@ -88,7 +88,7 @@ struct t_trigger_context
if (ctx.vars_updated) \
weechat_list_free (ctx.vars_updated); \
trigger->hook_running = 0; \
switch (weechat_config_integer ( \
switch (weechat_config_enum ( \
trigger->options[TRIGGER_OPTION_POST_ACTION])) \
{ \
case TRIGGER_POST_ACTION_DISABLE: \