Don't use strlen to check for empty string.
SVN revision: 32200
This commit is contained in:
parent
53f67eaf29
commit
13269eda52
|
@ -88,7 +88,7 @@ e_int_config_keybindings(E_Container *con, const char *params)
|
||||||
cfd = e_config_dialog_new(con, _("Key Binding Settings"), "E",
|
cfd = e_config_dialog_new(con, _("Key Binding Settings"), "E",
|
||||||
"_config_keybindings_dialog",
|
"_config_keybindings_dialog",
|
||||||
"enlightenment/keys", 0, v, NULL);
|
"enlightenment/keys", 0, v, NULL);
|
||||||
if ((params) && (strlen(params) > 0))
|
if ((params) && (params[0]))
|
||||||
{
|
{
|
||||||
cfd->cfdata->params = params;
|
cfd->cfdata->params = params;
|
||||||
_add_key_binding_cb(cfd->cfdata, NULL);
|
_add_key_binding_cb(cfd->cfdata, NULL);
|
||||||
|
|
Loading…
Reference in New Issue