Mercurial > MadButterfly
diff src/redraw_man.c @ 148:fce696643b1e
-
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Thu, 25 Sep 2008 10:14:19 +0800 |
parents | 995ee8fd5f1a |
children | 0824f4804ee0 |
line wrap: on
line diff
--- a/src/redraw_man.c Thu Sep 25 10:10:32 2008 +0800 +++ b/src/redraw_man.c Thu Sep 25 10:14:19 2008 +0800 @@ -584,7 +584,6 @@ cnt++; } - /* Compute area of the coord. */ if(max_poses < (cnt * 2)) { free(poses); max_poses = cnt * 2; @@ -593,6 +592,7 @@ return ERR; } + /* Compute area of the coord. */ pos_cnt = 0; FORMEMBERS(coord, geo) { area_to_positions(geo->cur_area, poses + pos_cnt);