From bf1cb3365a70c5040b3128f1e04de3f36733552f Mon Sep 17 00:00:00 2001 From: Ash Tyndall Date: Sat, 8 Oct 2011 14:33:33 +0800 Subject: [PATCH] --- scene.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene.c b/scene.c index c9820a2..e72b414 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]; -- 2.20.1