# HG changeset patch # User Thinker K.F. Li # Date 1222308859 -28800 # Node ID fce696643b1ec706831e5daa5e70e0e4301f4680 # Parent 995ee8fd5f1a14d962c8634ae946c3bc3518ffa4 - diff -r 995ee8fd5f1a -r fce696643b1e src/redraw_man.c --- 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);