src/haptic/SDL_haptic.c
branchgsoc2008_force_feedback
changeset 2491 10bc7aaf5114
parent 2490 be9b206d44af
child 2495 66c02abeef0e
     1.1 --- a/src/haptic/SDL_haptic.c	Wed Jul 02 09:52:44 2008 +0000
     1.2 +++ b/src/haptic/SDL_haptic.c	Wed Jul 02 10:26:35 2008 +0000
     1.3 @@ -21,7 +21,6 @@
     1.4  */
     1.5  #include "SDL_config.h"
     1.6  
     1.7 -#include "SDL_haptic_c.h"
     1.8  #include "SDL_syshaptic.h"
     1.9  #include "../joystick/SDL_joystick_c.h" /* For SDL_PrivateJoystickValid */
    1.10  
    1.11 @@ -173,7 +172,7 @@
    1.12  
    1.13     /* Check to see if joystick's haptic is already open */
    1.14     for (i=0; SDL_haptics[i]; i++) {
    1.15 -      if (SDL_SYS_JoystickSameHaptic(&SDL_haptics[i],joystick)) {
    1.16 +      if (SDL_SYS_JoystickSameHaptic(SDL_haptics[i],joystick)) {
    1.17           haptic = SDL_haptics[i];
    1.18           ++haptic->ref_count;
    1.19           return haptic;