From: Ash Tyndall Date: Sat, 8 Oct 2011 06:32:28 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=736b49a785b0f929d633c64feb661e8cfb014099;p=atyndall%2Fcits2231.git --- diff --git a/scene.c b/scene.c index 6fab50e..653c8aa 100644 --- a/scene.c +++ b/scene.c @@ -246,7 +246,7 @@ void processLightEvents(int id) { } -int makeSubmenuFromArray( const char *menuEntries[], void *callback ) { +int makeSubmenuFromArray( const char menuEntries[], void *callback ) { int menuEntriesSize = sizeof(menuEntries) / sizeof(menuEntries[0]); int menuNumber = menuEntriesSize / 10 + 1; int submenuObjects[menuNumber-1];