diff src/animate.c @ 1020:f25b8ad338b4 refine_backend_if

Fix error on error checking for mb_timer_man_new()
author Thinker K.F. Li <thinker@codemud.net>
date Mon, 22 Nov 2010 13:57:59 +0800
parents 1a3cc22ee1bd
children 63f2f1daf5d3
line wrap: on
line diff
--- 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);