diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2011-10-30 11:35:10 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2011-10-30 11:35:10 +0100 |
commit | 0b443f04740e5133383447933bf23596fbbe7941 (patch) | |
tree | 29cddda5542fe8f3b7a8c71b7609114a98368abe | |
parent | 3a10291967772fc421c1c6b29ee140a5feb20b84 (diff) | |
download | weechat-0b443f04740e5133383447933bf23596fbbe7941.zip |
core: fix help on plugin option when config_set_desc_plugin is called to set help on newly created option
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | src/plugins/plugin-config.c | 5 |
2 files changed, 6 insertions, 3 deletions
@@ -1,12 +1,14 @@ WeeChat ChangeLog ================= Sébastien Helleu <flashcode@flashtux.org> -v0.3.7-dev, 2011-10-29 +v0.3.7-dev, 2011-10-30 Version 0.3.7 (under dev!) -------------------------- +* core: fix help on plugin option when config_set_desc_plugin is called to set + help on newly created option * core: add WEECHAT_HOME option in cmake and configure to setup default WeeChat home (default is "~/.weechat") (task #11266) * core: add optional arguments for command /plugin load/reload/autoload diff --git a/src/plugins/plugin-config.c b/src/plugins/plugin-config.c index 1ad97fcae..937324274 100644 --- a/src/plugins/plugin-config.c +++ b/src/plugins/plugin-config.c @@ -184,9 +184,10 @@ plugin_config_set_desc_internal (const char *option, const char *value) option, "string", _("description of plugin option"), NULL, 0, 0, "", value, 0, NULL, NULL, &plugin_config_desc_changed_cb, NULL, NULL, NULL); - if (ptr_option) - plugin_config_desc_changed_cb (NULL, ptr_option); } + + if (ptr_option) + plugin_config_desc_changed_cb (NULL, ptr_option); } /* |