From: curt Date: Wed, 8 Apr 1998 23:34:05 +0000 (+0000) Subject: Patch from Durk to fix trim reversal with numlock key active. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=05d0e92b96e06e04904af00e8a64fd5df6f6b1e8;p=flightgear.git Patch from Durk to fix trim reversal with numlock key active. --- diff --git a/Main/GLUTkey.c b/Main/GLUTkey.c index 820c2c857..38c4268aa 100644 --- a/Main/GLUTkey.c +++ b/Main/GLUTkey.c @@ -219,10 +219,10 @@ void GLUTspecialkey(int k, int x, int y) { fgAileronMove(0.05); return; case GLUT_KEY_HOME: /* numeric keypad 1 */ - fgElevTrimMove(-0.001); + fgElevTrimMove(0.001); return; case GLUT_KEY_END: /* numeric keypad 7 */ - fgElevTrimMove(0.001); + fgElevTrimMove(-0.001); return; case GLUT_KEY_INSERT: /* numeric keypad Ins */ fgRudderMove(-0.05); @@ -247,9 +247,12 @@ void GLUTspecialkey(int k, int x, int y) { /* $Log$ -/* Revision 1.30 1998/04/03 22:09:02 curt -/* Converting to Gnu autoconf system. +/* Revision 1.31 1998/04/08 23:34:05 curt +/* Patch from Durk to fix trim reversal with numlock key active. /* + * Revision 1.30 1998/04/03 22:09:02 curt + * Converting to Gnu autoconf system. + * * Revision 1.29 1998/02/07 15:29:40 curt * Incorporated HUD changes and struct/typedef changes from Charlie Hotchkiss *