# HG changeset patch # User Thinker K.F. Li # Date 1290405479 -28800 # Node ID f25b8ad338b45f1109a139150e873192437c410d # Parent 1a3cc22ee1bdc2f753eba63757ba03e982eeed82 Fix error on error checking for mb_timer_man_new() diff -r 1a3cc22ee1bd -r f25b8ad338b4 src/animate.c --- a/src/animate.c Mon Nov 22 13:52:59 2010 +0800 +++ b/src/animate.c Mon Nov 22 13:57:59 2010 +0800 @@ -452,7 +452,7 @@ int r; timer_man = mb_timer_man_new(&tman_timer_factory); - CU_ASSERT(timer_man != NULL); + CU_ASSERT(timer_man != -1); tman = tman_timer_man_get_tman(timer_man);