From d9e265975297fb712213fbbf12c43b6ca68fc846 Mon Sep 17 00:00:00 2001 From: oroborus Date: Tue, 26 Feb 2008 20:42:25 +0000 Subject: par drobnych uprav, casovac je nastaveny na 50ms aby to nezralo procak git-svn-id: http://opensvn.csie.org/tuxanci_ng@5 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- src/myTimer.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/myTimer.c') diff --git a/src/myTimer.c b/src/myTimer.c index 1faca9b..1a73384 100644 --- a/src/myTimer.c +++ b/src/myTimer.c @@ -62,6 +62,12 @@ void eventTimer() if( currentTime >= thisTimer->time ) { thisTimer->fce(thisTimer->arg); + + if( isTimerInit == FALSE ) + { + return; + } + delListItem(listTime, i, free); i--; } -- cgit v1.2.3