summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2007-11-11 04:04:23 +0000
committerroot <root>2007-11-11 04:04:23 +0000
commit5687a11e0b63f15859822408f2c77fa18bc4fe53 (patch)
treed8fc9f7958cdbc439bca6ef7cb2c634681310362
parent7633bcdce9c376b70aca8166696f360a4e5bbddc (diff)
cna you say fuck?
-rw-r--r--ev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ev.c b/ev.c
index cad6350..5124b2b 100644
--- a/ev.c
+++ b/ev.c
@@ -1441,7 +1441,7 @@ void
ev_idle_stop (EV_P_ struct ev_idle *w)
{
ev_clear_pending (EV_A_ (W)w);
- if (ev_is_active (w))
+ if (!ev_is_active (w))
return;
idles [((W)w)->active - 1] = idles [--idlecnt];