forked from enlightenment/enlightenment
Check for params before checking for strlen of params.
SVN revision: 32281
This commit is contained in:
parent
4f4f035465
commit
55fce5437d
|
@ -1093,7 +1093,7 @@ _grab_key_down_cb(void *data, int type, void *event)
|
|||
e_widget_ilist_unselect(cfdata->gui.o_action_list);
|
||||
if (cfdata->locals.action) free(cfdata->locals.action);
|
||||
cfdata->locals.action = strdup("");
|
||||
if (cfdata->params[0])
|
||||
if ((cfdata->params) && (cfdata->params[0]))
|
||||
{
|
||||
int j, g = -1;
|
||||
_find_key_binding_action("exec", NULL, &g, NULL, &j);
|
||||
|
|
Loading…
Reference in New Issue