core: fix help on plugin option when config_set_desc_plugin is called to set help on newly created option

This commit is contained in:
Sebastien Helleu 2011-10-30 11:35:10 +01:00
parent 3a10291967
commit 0b443f0474
2 changed files with 6 additions and 3 deletions

View File

@ -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

View File

@ -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);
}
/*