diff options
-rw-r--r-- | action.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -224,9 +224,9 @@ fill_ev_table(char *input) { break; } if(str4 == kommatoken && str4 != token && eid != -1) { - if((ah = (void *)get_action_handler(dptoken)) == NULL) { + if((ah = (void *)get_action_handler(dptoken)) != NULL) { new_event(eid); - add_handler(eid, i, get_action_handler(dptoken)); + add_handler(eid, i, ah); i++; } } |