diff src/animate.c @ 155:6749f6639924

Fix bug for STAILQ that fail to remove a node. The previous one should be re-linked to next of removed one. But, it is linked to the removed one. Fix it!
author Thinker K.F. Li <thinker@branda.to>
date Wed, 01 Oct 2008 14:46:08 +0800
parents 9870b049b7f6
children c7e5b8779bb5
line wrap: on
line diff
--- a/src/animate.c	Tue Sep 30 02:44:06 2008 +0800
+++ b/src/animate.c	Wed Oct 01 14:46:08 2008 +0800
@@ -290,6 +290,7 @@
 	    MB_TIMEVAL_CP(&next_tmo, &word->abs_start);
 	timer = mb_tman_timeout(progm->tman, &next_tmo,
 				mb_progm_step, progm);	
+	progm->cur_timer = timer;
     } else {
 	/* Make program to complete. */
 #ifndef UNITTEST