Apply patch from Bobby Potter <bobby@sylow.southwestern.edu>.

To fix segfault if a->params is NULLL same goes for a->key...
I still have some problems over here which im going to look into right now.


SVN revision: 5167
devs/princeamd/enlightenment-0.17-elive
Christopher Rosendahl 22 years ago
parent a20ab0c6ff
commit 6347565356
  1. 4
      src/actions.c

@ -193,10 +193,10 @@ _e_action_find(char *action, int act, int button, char *key, Ev_Key_Modifiers mo
aa->name = strdup(a->name);
aa->action = strdup(a->action);
aa->params = strdup(a->params);
if (a->params) aa->params = strdup(a->params);
aa->event = a->event;
aa->button = a->button;
aa->key = strdup(a->key);
if (a->key) aa->key = strdup(a->key);
aa->modifiers = a->modifiers;
aa->action_proto = ap;
aa->object = o;

Loading…
Cancel
Save