# HG changeset patch # User wycc # Date 1233472218 -28800 # Node ID 2469f8d2365848a47c6e1e40a35e85f8a24431aa # Parent 2ca0773cd48dad7cb64a2931908777df439e39c3 Fix the type of ci to co diff -r 2ca0773cd48d -r 2469f8d23658 include/mb_types.h --- a/include/mb_types.h Sun Feb 01 09:51:12 2009 +0800 +++ b/include/mb_types.h Sun Feb 01 15:10:18 2009 +0800 @@ -217,12 +217,12 @@ * */ #define coord_move(co,x,y) do {(co)->matrix[2] = (x); (co)->matrix[5] = (y);} while(0) -#define coord_set_scalex(ci,sx) do {(co)->matrix[0] = sx;} while(0) -#define coord_set_scaley(ci,sy) do {(co)->matrux[3] = sy;} while(0) -#define coord_scalex(ci) ((co)->matrix[0]) -#define coord_scaley(ci) ((co)->matrix[3]) -#define coord_x(ci) ((co)->matrix[2]) -#define coord_y(ci) ((co)->matrix[5]) +#define coord_set_scalex(co,sx) do {(co)->matrix[0] = sx;} while(0) +#define coord_set_scaley(co,sy) do {(co)->matrux[3] = sy;} while(0) +#define coord_scalex(co) ((co)->matrix[0]) +#define coord_scaley(co) ((co)->matrix[3]) +#define coord_x(co) ((co)->matrix[2]) +#define coord_y(co) ((co)->matrix[5]) #define FOR_COORD_MEMBERS(coord, geo) \ for(geo = STAILQ_HEAD((coord)->members); \ geo != NULL; \