api: fix bug with function config_set_desc_plugin (use immediately description for option when function is called)

v2.8-utf8proc
Sebastien Helleu 2011-05-15 17:03:07 +02:00
parent 9c08484107
commit 3a0cf4b4db
2 changed files with 5 additions and 0 deletions

View File

@ -7,6 +7,9 @@ v0.3.6-dev, 2011-05-15
Version 0.3.6 (under dev!)
--------------------------
* api: fix bug with function config_set_desc_plugin (use immediately
description for option when function is called)
Version 0.3.5 (2011-05-15)
--------------------------

View File

@ -184,6 +184,8 @@ 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);
}
}