aboutsummaryrefslogtreecommitdiffstats
path: root/action.c
diff options
context:
space:
mode:
authorgotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2007-06-13 15:53:18 +0000
committergotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2007-06-13 15:53:18 +0000
commite670adc7610af0dbf57e45cbfd62f2264d6c29fe (patch)
tree7b4f89d8083b592033b79fb0106c5a5a34c2b899 /action.c
parent6dc9d363f149eebe9fd5a0c7c7e9761e09cca9c5 (diff)
downloaddzen-e670adc7610af0dbf57e45cbfd62f2264d6c29fe.tar.gz
dzen-e670adc7610af0dbf57e45cbfd62f2264d6c29fe.zip
final warning fixes
git-svn-id: http://dzen.googlecode.com/svn/trunk@89 f2baff5b-bf2c-0410-a398-912abdc3d8b2
Diffstat (limited to 'action.c')
-rw-r--r--action.c4
1 files changed, 2 insertions, 2 deletions
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++;
}
}