aboutsummaryrefslogtreecommitdiffstats
path: root/action.c
diff options
context:
space:
mode:
Diffstat (limited to 'action.c')
-rw-r--r--action.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/action.c b/action.c
index 7acf87a..78285e6 100644
--- a/action.c
+++ b/action.c
@@ -95,6 +95,7 @@ add_handler(long evid, int hpos, handlerf* hcb) {
if(item->id == evid) {
item->action[hpos] = emalloc(sizeof(As));
item->action[hpos]->handler = hcb;
+ item->action[hpos+1]->handler = NULL;
break;
}
item = item->next;