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

diff --git a/scene.c b/scene.c
index 8e8677e..f6520e7 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -280,7 +280,7 @@ void makeMenu() {
   // Construct add object menu\r
   int addObjectMenu = glutCreateMenu(processObjectEvents);\r
   for ( int i = 0; addObjectSubmenu[i]; i++ ) {\r
-    glutAddSubMenu( "1", addObjectSubmenu[i] );\r
+    glutAddSubMenu( (char)i, addObjectSubmenu[i] );\r
   }\r
 \r
 \r

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