Mercurial > MadButterfly
diff tools/mb_c_source.m4 @ 296:2e97e8082d83
* Fix the symbol definition code which does not assume the id is the same as the mbname.
* Add appleTV style list demo. We need to add animation latter. It is staic for now.
author | wycc |
---|---|
date | Sun, 01 Feb 2009 16:28:28 +0800 |
parents | c8b6ca46950b |
children | 9fa4459c08a9 |
line wrap: on
line diff
--- a/tools/mb_c_source.m4 Sun Feb 01 15:10:18 2009 +0800 +++ b/tools/mb_c_source.m4 Sun Feb 01 16:28:28 2009 +0800 @@ -371,7 +371,7 @@ divert[]dnl ]) -define([Y_ADD_SYMBOL],[[{"$1", MB_SPRITE_OFFSET($1)},]]) +define([Y_ADD_SYMBOL],[[{"$2", MB_SPRITE_OFFSET($1)},]]) define([DECLARE_SYMS], [divert([-1]) define([YIMPORT],[IMPORT(]QUOTE($[]1)[,[Y_])])