Whoops...typo prevented compiling. Fixed.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40622
This commit is contained in:
Ryan C. Gordon 2003-05-22 07:12:36 +00:00
parent ae7a1484b4
commit 15a4f84834

View file

@ -648,7 +648,7 @@ int SDL_SYS_JoystickInit(void)
/* Filter device list to non-keyboard/mouse stuff */
if ( device->usagePage == kHIDPage_GenericDesktop &&
(device->usage != kHIDUsage_GD_Joystick ||
device->usage != kHIDUsage_GD_Gamepad)) {
device->usage != kHIDUsage_GD_GamePad)) {
/* release memory for the device */
HIDDisposeDevice (&device);