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

diff --git a/scene.c b/scene.c
index 49a8a61..53b3187 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -262,7 +262,7 @@ int makeSubmenuFromArray( const char *menuEntries[], unsigned int menuEntriesSiz
   }\r
 \r
   int mainMenu = glutCreateMenu(callback);\r
-  for ( int i = 0; i < menuNumber - 1; i++ ) {\r
+  for ( int i = 0; i < menuNumber; i++ ) {\r
     char name[10]; // buffer to hold name\r
     int startNum = i*11 - (i-1);\r
     int endNum = startNum + 9;\r

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