From 974e38bfbd77c54d41533bf832d92728f71344e7 Mon Sep 17 00:00:00 2001 From: rkrolib Date: Fri, 7 Nov 2003 05:46:33 +0000 Subject: [PATCH] Grr. Forgot to enable the "freeglut" C programming mode in EMACS, and had a few TABs in the last commit. This fixes that. Sorry. git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@307 7f0cb862-5218-0410-a997-914c9d46530a --- freeglut/freeglut/src/freeglut_main.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/freeglut/freeglut/src/freeglut_main.c b/freeglut/freeglut/src/freeglut_main.c index fd0abbc..080b90b 100644 --- a/freeglut/freeglut/src/freeglut_main.c +++ b/freeglut/freeglut/src/freeglut_main.c @@ -819,14 +819,14 @@ void FGAPIENTRY glutMainLoopEvent( void ) * XXX since the order and numbering isn't certain * XXX See XFree86 configuration docs (even back in the * XXX 3.x days, and especially with 4.x). - * - * XXX Note that {button} has already been decremeted - * XXX in mapping from X button numbering to GLUT. + * + * XXX Note that {button} has already been decremeted + * XXX in mapping from X button numbering to GLUT. */ int wheel_number = (button - 3) / 2; - int direction = -1; - if( button % 2 ) - direction = 1; + int direction = -1; + if( button % 2 ) + direction = 1; if( pressed ) INVOKE_WCB( *window, MouseWheel, ( wheel_number,