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:
c4566bc
)
(no commit message)
author
Ash Tyndall
<
[email protected]
>
Sat, 8 Oct 2011 03:25:21 +0000
(11:25 +0800)
committer
Ash Tyndall
<
[email protected]
>
Sat, 8 Oct 2011 03:25:21 +0000
(11:25 +0800)
scene.c
patch
|
blob
|
history
diff --git
a/scene.c
b/scene.c
index
3e7e8da
..
d593db6
100644
(file)
--- a/
scene.c
+++ b/
scene.c
@@
-250,7
+250,9
@@
void makeMenu() {
// Create the overmenu
\r
int objectMenu = glutCreateMenu(processObjectEvents);
\r
for ( int i = 0; objectSubmenu[i]; i++ ) {
\r
- glutAddSubMenu( (i + 1) * 10, objectSubmenu[i] );
\r
+ char name[2];
\r
+ sprintf(name,"%d",(i + 1) * 10);
\r
+ glutAddSubMenu( name, objectSubmenu[i] );
\r
}
\r
\r
glutAddSubMenu("Objects", objectMenu);
\r
UCC
git Repository :: git.ucc.asn.au