Don't use strlen to check for empty string.
Fix formatting. SVN revision: 32201
This commit is contained in:
parent
13269eda52
commit
258eb1ab66
|
@ -1088,7 +1088,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(strlen(cfdata->params) > 0)
|
||||
if (cfdata->params[0])
|
||||
{
|
||||
int j, g = -1;
|
||||
_find_key_binding_action("exec", NULL, &g, NULL, &j);
|
||||
|
|
Loading…
Reference in New Issue