1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-06 09:43:13 +02:00

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
+3 -2
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);
}
/*