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:
27e1e38
)
(no commit message)
author
Ash Tyndall
<
[email protected]
>
Sat, 8 Oct 2011 06:46:38 +0000
(14:46 +0800)
committer
Ash Tyndall
<
[email protected]
>
Sat, 8 Oct 2011 06:46:38 +0000
(14:46 +0800)
scene.c
patch
|
blob
|
history
diff --git
a/scene.c
b/scene.c
index
53b3187
..
49a8a61
100644
(file)
--- a/
scene.c
+++ b/
scene.c
@@
-262,7
+262,7
@@
int makeSubmenuFromArray( const char *menuEntries[], unsigned int menuEntriesSiz
}
\r
\r
int mainMenu = glutCreateMenu(callback);
\r
- for ( int i = 0; i < menuNumber; i++ ) {
\r
+ for ( int i = 0; i < menuNumber
- 1
; i++ ) {
\r
char name[10]; // buffer to hold name
\r
int startNum = i*11 - (i-1);
\r
int endNum = startNum + 9;
\r
UCC
git Repository :: git.ucc.asn.au