diff src/animate.c @ 1024:63f2f1daf5d3 refine_backend_if

X_main.c works with new backend definition
author Thinker K.F. Li <thinker@codemud.net>
date Mon, 22 Nov 2010 15:38:11 +0800
parents f25b8ad338b4
children e415c55b4a0d
line wrap: on
line diff
--- a/src/animate.c	Mon Nov 22 15:27:40 2010 +0800
+++ b/src/animate.c	Mon Nov 22 15:38:11 2010 +0800
@@ -334,7 +334,7 @@
 
     timer = mb_timer_man_timeout(timer_man, &progm->words[0].abs_start,
 				 mb_progm_step, progm);
-    ASSERT(timer != NULL);
+    ASSERT(timer != -1);
 
     /* We need timer to abort it. */
     progm->cur_timer = timer;