git.ucc.asn.au
/
atyndall
/
cits2231.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
(no commit message)
[atyndall/cits2231.git]
/
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