summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2008-05-05 20:47:33 +0000
committerroot <root>2008-05-05 20:47:33 +0000
commit3dbea5aceeb711c65bb1d2192bfc8395d24d2dca (patch)
tree6b15d03c7b2ce405751b7c1d10c3cc9eb49fbde4
parent205a9b102b22f2dc1c711d8a8a5cb98488d22c9b (diff)
*** empty log message ***
-rw-r--r--ev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ev.c b/ev.c
index 6599ea5..e5b8c81 100644
--- a/ev.c
+++ b/ev.c
@@ -1525,7 +1525,7 @@ periodics_reschedule (EV_P)
int i;
/* adjust periodics after time jump */
- for (i = 0; i < periodiccnt; ++i)
+ for (i = 1; i <= periodiccnt; ++i)
{
ev_periodic *w = (ev_periodic *)periodics [i];