(no commit message)
authorAsh Tyndall <[email protected]>
Sat, 8 Oct 2011 06:38:29 +0000 (14:38 +0800)
committerAsh Tyndall <[email protected]>
Sat, 8 Oct 2011 06:38:29 +0000 (14:38 +0800)
scene.c

diff --git a/scene.c b/scene.c
index f4467cc..a4b70d6 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -247,7 +247,7 @@ void processLightEvents(int id) {
 }\r
 \r
 int makeSubmenuFromArray( const char *menuEntries[], void *callback ) {\r
-  int menuEntriesSize = 54;//sizeof(menuEntries) / sizeof(menuEntries[0]);\r
+  int menuEntriesSize = sizeof(menuEntries) / sizeof(menuEntries[0]);\r
   int menuNumber = menuEntriesSize / 10 + 1;\r
   int submenuObjects[menuNumber-1];\r
 \r

UCC git Repository :: git.ucc.asn.au