diff options
author | gotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2> | 2007-07-11 19:50:36 +0000 |
---|---|---|
committer | gotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2> | 2007-07-11 19:50:36 +0000 |
commit | bdd290f1ae860943492c4fe5bad598eca75ae94c (patch) | |
tree | f908243b5336ea741003a7ee3c6ea2e1d50239ec /action.c | |
parent | 360dee79a615517838f93f11bddb9ea5207c7ff0 (diff) | |
download | dzen-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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |