From 59ed896916f5a6e79b004534dcc5b988acd7dcf6 Mon Sep 17 00:00:00 2001 From: Ash Tyndall Date: Sat, 8 Oct 2011 14:05:44 +0800 Subject: [PATCH] --- scene.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene.c b/scene.c index c7d5318..9f29cc0 100644 --- a/scene.c +++ b/scene.c @@ -288,7 +288,7 @@ void makeMenu() { int startNum = i*11 - (i-1); int endNum = startNum + 9; if ( i == menuNumber - 1 ) { // We're on the last one - endNum = startNum + 4; + endNum = startNum + 3; } sprintf(name, "%d-%d", startNum, endNum); glutAddSubMenu( name, addObjectSubmenu[i] ); -- 2.20.1