(no commit message)
authorAsh Tyndall <[email protected]>
Sat, 8 Oct 2011 03:25:41 +0000 (11:25 +0800)
committerAsh Tyndall <[email protected]>
Sat, 8 Oct 2011 03:25:41 +0000 (11:25 +0800)
scene.c

diff --git a/scene.c b/scene.c
index d593db6..62b3863 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -250,7 +250,7 @@ void makeMenu() {
   // Create the overmenu\r
   int objectMenu = glutCreateMenu(processObjectEvents);\r
   for ( int i = 0; objectSubmenu[i]; i++ ) {\r
-    char name[2];\r
+    char name[10];\r
     sprintf(name,"%d",(i + 1) * 10);\r
     glutAddSubMenu( name, objectSubmenu[i] );\r
   }\r

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