git.ucc.asn.au
/
atyndall
/
cits2231.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
618fbae
)
(no commit message)
author
Ash Tyndall
<
[email protected]
>
Sat, 8 Oct 2011 05:39:25 +0000
(13:39 +0800)
committer
Ash Tyndall
<
[email protected]
>
Sat, 8 Oct 2011 05:39:25 +0000
(13:39 +0800)
scene.c
patch
|
blob
|
history
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