aboutsummaryrefslogtreecommitdiffstats
path: root/action.c
diff options
context:
space:
mode:
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 a6813cc..9a9fe6d 100644
--- a/action.c
+++ b/action.c
@@ -46,7 +46,7 @@ struct action_lookup ac_lookup_table[] = {
{ 0, 0 }
};
-Ev ev_table[256] = {{0}, {0}};
+Ev ev_table[MAXEVENTS] = {{0}, {0}};
/* utilities */
void
@@ -101,7 +101,7 @@ fill_ev_table(char *input)
if (subtoken == NULL)
break;
if( (str2 == token) && ((eid = get_ev_id(subtoken)) != -1))
- 0;
+ ;
else if(eid == -1)
break;