From e670adc7610af0dbf57e45cbfd62f2264d6c29fe Mon Sep 17 00:00:00 2001 From: gotmor Date: Wed, 13 Jun 2007 15:53:18 +0000 Subject: final warning fixes git-svn-id: http://dzen.googlecode.com/svn/trunk@89 f2baff5b-bf2c-0410-a398-912abdc3d8b2 --- action.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'action.c') diff --git a/action.c b/action.c index a8f3f70..bd9961a 100644 --- a/action.c +++ b/action.c @@ -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++; } } -- cgit v1.2.3-54-g00ecf