Fixing the "fghGetProcAddress" bug also noted by Evan Felix in e-mail dated 2/4/12...
[freeglut] / src / Common / freeglut_joystick.c
index 76f8542..8c23bba 100644 (file)
@@ -1037,6 +1037,7 @@ void fgPlatformJoystickOpen( SFG_Joystick* joy )
        char *cp;\r
 #endif\r
 #ifdef JS_NEW\r
+       int i = 0;\r
        unsigned char u;\r
 #else\r
 #  if defined( __linux__ ) || TARGET_HOST_SOLARIS\r