From 338036c31a5f2290ed99ef7e27f1bc450f8487bd Mon Sep 17 00:00:00 2001 From: root Date: Fri, 2 Nov 2007 20:21:33 +0000 Subject: [PATCH] *** empty log message *** --- ev.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ev.c b/ev.c index 23507bd..a9864a7 100644 --- a/ev.c +++ b/ev.c @@ -860,6 +860,9 @@ ev_clear_pending (W w) static void ev_start (W w, int active) { + if (w->priority < EV_MINPRI) w->priority = EV_MINPRI; + if (w->priority > EV_MAXPRI) w->priority = EV_MAXPRI; + w->active = active; } -- 2.43.0