aboutsummaryrefslogtreecommitdiffstats
path: root/action.c
diff options
context:
space:
mode:
authorgotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2007-07-11 19:50:36 +0000
committergotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2007-07-11 19:50:36 +0000
commitbdd290f1ae860943492c4fe5bad598eca75ae94c (patch)
treef908243b5336ea741003a7ee3c6ea2e1d50239ec /action.c
parent360dee79a615517838f93f11bddb9ea5207c7ff0 (diff)
downloaddzen-bdd290f1ae860943492c4fe5bad598eca75ae94c.tar.gz
dzen-bdd290f1ae860943492c4fe5bad598eca75ae94c.zip
add_action last actionhandler points to NULL
git-svn-id: http://dzen.googlecode.com/svn/trunk@121 f2baff5b-bf2c-0410-a398-912abdc3d8b2
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;