Mercurial > MadButterfly
diff examples/dynamic/hello.c @ 399:31b6633e3538
- Fix a minor error in src/sprite.c: should check *(s-1) instead of
*s or the pointer will stop at '/', which is not what we want.
- Fix various load path errors in examples because libtool put .so
into .libs directory.
- Fix an error in examples/dynamic/Makefile.am: scene_la_SOURCES
should be scene.c instead of mytext.c
author | john.cylee@gmail.com |
---|---|
date | Fri, 12 Jun 2009 18:36:15 +0800 |
parents | 433fa83d16f9 |
children | 84ce2d4a8c3f |
line wrap: on
line diff
--- a/examples/dynamic/hello.c Fri Jun 12 11:23:59 2009 +0800 +++ b/examples/dynamic/hello.c Fri Jun 12 18:36:15 2009 +0800 @@ -48,7 +48,7 @@ if (argc > 1) myApp = MBApp_Init(argv[1]); else - myApp = MBApp_Init("scene"); + myApp = MBApp_Init(".libs/scene"); data.currentscene=0; MBApp_setData(myApp,&data); //b = mb_button_new(myApp, myApp->rootsprite, "btn");