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:
22329df
)
(no commit message)
author
Ash Tyndall
<
[email protected]
>
Sat, 8 Oct 2011 05:38:09 +0000
(13:38 +0800)
committer
Ash Tyndall
<
[email protected]
>
Sat, 8 Oct 2011 05:38:09 +0000
(13:38 +0800)
scene.c
patch
|
blob
|
history
diff --git
a/scene.c
b/scene.c
index
2a5ab65
..
5b3f3a8
100644
(file)
--- a/
scene.c
+++ b/
scene.c
@@
-280,8
+280,7
@@
void makeMenu() {
// Construct add object menu
\r
int addObjectMenu = glutCreateMenu(processObjectEvents);
\r
for ( int i = 0; addObjectSubmenu[i]; i++ ) {
\r
- char * name = { (char)i };
\r
- glutAddSubMenu( name, addObjectSubmenu[i] );
\r
+ glutAddSubMenu( "1", addObjectSubmenu[i] );
\r
}
\r
\r
\r
UCC
git Repository :: git.ucc.asn.au