Make sure we are not null before checking strlen

SVN revision: 32199
This commit is contained in:
Eric Schuele 2007-10-29 03:55:18 +00:00
parent 29ca544580
commit 53f67eaf29
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ e_int_config_keybindings(E_Container *con, const char *params)
cfd = e_config_dialog_new(con, _("Key Binding Settings"), "E",
"_config_keybindings_dialog",
"enlightenment/keys", 0, v, NULL);
if (strlen(params) > 0)
if ((params) && (strlen(params) > 0))
{
cfd->cfdata->params = params;
_add_key_binding_cb(cfd->cfdata, NULL);