changeset 540:43b26ac2f69b Android_Skia

Fix bug of dirty areas of coords. The coord_t::cur_area and coord_t::last_area are swapped two times for every clearing iteration. It means no swapping, but it should be.
author Thinker K.F. Li <thinker@branda.to>
date Mon, 24 May 2010 17:43:19 +0800
parents ce11e889ea4e
children f42419c08a65
files src/redraw_man.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/redraw_man.c	Mon May 24 16:27:25 2010 +0800
+++ b/src/redraw_man.c	Mon May 24 17:43:19 2010 +0800
@@ -1448,7 +1448,6 @@
 	    coord = dirty_coords[i];
 	    if(!coord_get_flags(coord, COF_DIRTY | COF_JUST_CLEAN))
 		continue;
-	    SWAP(coord->cur_area, coord->last_area, area_t *);
 	    r = clean_coord(rdman, coord);
 	    if(r != OK)
 		return ERR;