From bdd290f1ae860943492c4fe5bad598eca75ae94c Mon Sep 17 00:00:00 2001 From: gotmor Date: Wed, 11 Jul 2007 19:50:36 +0000 Subject: add_action last actionhandler points to NULL git-svn-id: http://dzen.googlecode.com/svn/trunk@121 f2baff5b-bf2c-0410-a398-912abdc3d8b2 --- action.c | 1 + 1 file changed, 1 insertion(+) (limited to 'action.c') 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; -- cgit v1.2.3-54-g00ecf