diff src/redraw_man.c @ 23:56f592f56ff7

Fix bug and add linear gradient paint. - fix the bug that forget to clear n_dirty_geos in rdman_redraw_all().
author Thinker K.F. Li <thinker@branda.to>
date Sat, 02 Aug 2008 23:10:42 +0800
parents 8fcf2d878ecd
children e598bc809c0f
line wrap: on
line diff
--- a/src/redraw_man.c	Sat Aug 02 16:20:15 2008 +0800
+++ b/src/redraw_man.c	Sat Aug 02 23:10:42 2008 +0800
@@ -639,6 +639,7 @@
 	    clean_shape(geo->shape);
 	draw_shape(rdman, geo->shape);
     }
+    rdman->n_dirty_geos = 0;
 
     return OK;
 }