Mercurial > MadButterfly
changeset 113:cf8ccf06e397
Create a new coord_t as root_coord in <svg>_new()
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Sun, 14 Sep 2008 01:04:40 +0800 |
parents | abb5511c23f7 |
children | 1909d53071ab |
files | tools/mb_c_source.m4 |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tools/mb_c_source.m4 Sun Sep 14 01:03:23 2008 +0800 +++ b/tools/mb_c_source.m4 Sun Sep 14 01:04:40 2008 +0800 @@ -275,7 +275,7 @@ obj = ($1_t *)malloc(sizeof($1_t)); if(obj == NULL) return NULL; ]SETUP_VARS - obj->root_coord = rdman->root_coord; + obj->root_coord = rdman_coord_new(rdman, rdman->root_coord); $2 [ return obj; }