X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffreeglut_misc.c;h=2af17313ae1e59750ced2ecb90d1e0170dd3d0dc;hb=e914664550e34587f4b10d3fe52c61fbe6d61771;hp=f8b7f3356349a4d4d277fa743e22a340970f1277;hpb=5d724da03c1b5988304888c17c5eba8a40c0a529;p=freeglut diff --git a/src/freeglut_misc.c b/src/freeglut_misc.c index f8b7f33..2af1731 100644 --- a/src/freeglut_misc.c +++ b/src/freeglut_misc.c @@ -51,7 +51,7 @@ int FGAPIENTRY glutExtensionSupported( const char* extension ) { const char *extensions, *start; - const int len = strlen( extension ) ; + const int len = strlen( extension ); /* * Make sure there is a current window, and thus a current context available @@ -99,7 +99,7 @@ void FGAPIENTRY glutReportErrors( void ) */ void FGAPIENTRY glutIgnoreKeyRepeat( int ignore ) { - fgState.IgnoreKeyRepeat = ignore ? TRUE : FALSE; + fgState.IgnoreKeyRepeat = ignore ? GL_TRUE : GL_FALSE; } /*