Mercurial > MadButterfly
diff src/shape_path.c @ 196:c234ee745ceb
Start moving to mb_obj_t
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Tue, 09 Dec 2008 17:34:10 +0800 |
parents | 530bb7728546 |
children | 75ec0124202a |
line wrap: on
line diff
--- a/src/shape_path.c Wed Nov 19 20:54:27 2008 +0800 +++ b/src/shape_path.c Tue Dec 09 17:34:10 2008 +0800 @@ -682,7 +682,7 @@ path = (sh_path_t *)malloc(sizeof(sh_path_t)); /*! \todo Remove this memset()? */ memset(&path->shape, 0, sizeof(shape_t)); - path->shape.sh_type = SHT_PATH; + MBO_TYPE(path) = MBO_PATH; path->cmd_len = cmd_cnt; path->arg_len = arg_cnt; path->fix_arg_len = fix_arg_cnt;