summaryrefslogtreecommitdiff
path: root/src/plugins/exec/exec-config.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2019-10-23 19:43:45 +0200
committerSébastien Helleu <flashcode@flashtux.org>2019-10-23 19:45:06 +0200
commitc6161d0e4a73665a646688859e1a77cdad0998f8 (patch)
treee6a59b97481d1e095faad9e49954d45b18dc7ac5 /src/plugins/exec/exec-config.c
parentecc7edda9e1acc43fcf6effc72120e54bda4a655 (diff)
downloadweechat-c6161d0e4a73665a646688859e1a77cdad0998f8.zip
plugins: sort options added in configuration sections
Diffstat (limited to 'src/plugins/exec/exec-config.c')
-rw-r--r--src/plugins/exec/exec-config.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/plugins/exec/exec-config.c b/src/plugins/exec/exec-config.c
index 227155af1..6ea68a56d 100644
--- a/src/plugins/exec/exec-config.c
+++ b/src/plugins/exec/exec-config.c
@@ -38,8 +38,8 @@ struct t_config_option *exec_config_command_shell;
/* exec config, color section */
-struct t_config_option *exec_config_color_flag_running;
struct t_config_option *exec_config_color_flag_finished;
+struct t_config_option *exec_config_color_flag_running;
char **exec_config_cmd_options = NULL;
int exec_config_cmd_num_options = 0;
@@ -164,18 +164,18 @@ exec_config_init ()
return 0;
}
- exec_config_color_flag_running = weechat_config_new_option (
- exec_config_file, ptr_section,
- "flag_running", "color",
- N_("text color for a running command flag in list of commands"),
- NULL, 0, 0, "lightgreen", NULL, 0,
- NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
exec_config_color_flag_finished = weechat_config_new_option (
exec_config_file, ptr_section,
"flag_finished", "color",
N_("text color for a finished command flag in list of commands"),
NULL, 0, 0, "lightred", NULL, 0,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+ exec_config_color_flag_running = weechat_config_new_option (
+ exec_config_file, ptr_section,
+ "flag_running", "color",
+ N_("text color for a running command flag in list of commands"),
+ NULL, 0, 0, "lightgreen", NULL, 0,
+ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
return 1;
}