comparison examples/menu/filebrowser.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 3e84458968ec
children 84ce2d4a8c3f
comparison
equal deleted inserted replaced
398:674717c2c3ee 399:31b6633e3538
224 224
225 if (argc > 1) 225 if (argc > 1)
226 dir = argv[1]; 226 dir = argv[1];
227 else 227 else
228 dir ="/tmp"; 228 dir ="/tmp";
229 myApp = MBApp_Init("browser"); 229 myApp = MBApp_Init(".libs/browser");
230 MBApp_setData(myApp,&data); 230 MBApp_setData(myApp,&data);
231 MyApp_InitContent(dir); 231 MyApp_InitContent(dir);
232 232
233 MBApp_loop(myApp); 233 MBApp_loop(myApp);
234 234