summaryrefslogtreecommitdiff
path: root/event.c
diff options
context:
space:
mode:
authorroot <root>2007-11-03 20:24:42 +0000
committerroot <root>2007-11-03 20:24:42 +0000
commitb5304cc456ee27383d787591037f5d15ca3b274f (patch)
tree428eb8b64be06f5b24aa416ef9ae8dea8e84f5ea /event.c
parent2c478454e9a3a21bdc62c7f46b02149795888437 (diff)
do not support multiple event bases. period.
Diffstat (limited to 'event.c')
-rw-r--r--event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/event.c b/event.c
index 0c53e2f..904bd62 100644
--- a/event.c
+++ b/event.c
@@ -74,7 +74,7 @@ const char *event_get_method (void)
void *event_init (void)
{
- if (ev_init (0))
+ if (!x_cur && ev_init (0))
return x_cur = &x_base;
return 0;