# HG changeset patch # User Thinker K.F. Li # Date 1274694199 -28800 # Node ID 43b26ac2f69b37b77e7f172c5d367ffc0e896c8d # Parent ce11e889ea4e83e3ed8dfeb7924e46772e0927a6 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. diff -r ce11e889ea4e -r 43b26ac2f69b src/redraw_man.c --- 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;