diff --git a/src/cocoa_joystick.m b/src/cocoa_joystick.m index 76c374b6..bf6e66bb 100644 --- a/src/cocoa_joystick.m +++ b/src/cocoa_joystick.m @@ -466,7 +466,7 @@ int _glfwPlatformGetJoystickParam(int joy, int param) if (!_glfwJoysticks[joy].present) { // TODO: Figure out if this is an error - return 0; + return GL_FALSE; } switch (param) @@ -484,7 +484,7 @@ int _glfwPlatformGetJoystickParam(int joy, int param) break; } - return 0; + return GL_FALSE; }