Mercurial > MadButterfly
changeset 295:2469f8d23658
Fix the type of ci to co
author | wycc |
---|---|
date | Sun, 01 Feb 2009 15:10:18 +0800 |
parents | 2ca0773cd48d |
children | 2e97e8082d83 |
files | include/mb_types.h |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- 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; \