int addObjectMenu = glutCreateMenu(processObjectEvents);\r
for ( int i = 0; addObjectSubmenu[i]; i++ ) {\r
char name[10]; // buffer to hold name\r
- sprintf(name, "%d-%d", i*11 - (i-1), i*11 + 8);\r
+ sprintf(name, "%d-%d", i*11 - (i-1), i*11 + 9);\r
glutAddSubMenu( name, addObjectSubmenu[i] );\r
}\r
\r