mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-27 07:58:49 +01:00
assert fired for unknown reason. Fix behavior in non-assert-enabled
build to do the right thing in that case.
This commit is contained in:
parent
5fc7836eca
commit
698d549fd1
1 changed files with 2 additions and 1 deletions
|
@ -249,7 +249,8 @@ utilTimerFired( XW_UtilCtxt* uc, XWTimerReason why, int handle )
|
|||
AndUtil* util = (AndUtil*)uc;
|
||||
TimerStorage* timerStorage = &util->timerStorage[why];
|
||||
XP_ASSERT( handle == (int)timerStorage );
|
||||
return (*timerStorage->proc)( timerStorage->closure, why );
|
||||
return (handle == (int)timerStorage)
|
||||
&& (*timerStorage->proc)( timerStorage->closure, why );
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Add table
Reference in a new issue