Not being able to compile locally gets on my nerves. gsoc2008_force_feedback
authorEdgar Simo <bobbens@gmail.com>
Wed, 30 Jul 2008 14:50:00 +0000
branchgsoc2008_force_feedback
changeset 2555f5bcc926bac4
parent 2554 2681a04c2d3d
child 2556 fe346eddd3fb
Not being able to compile locally gets on my nerves.
src/haptic/darwin/SDL_syshaptic.c
     1.1 --- a/src/haptic/darwin/SDL_syshaptic.c	Wed Jul 30 14:48:34 2008 +0000
     1.2 +++ b/src/haptic/darwin/SDL_syshaptic.c	Wed Jul 30 14:50:00 2008 +0000
     1.3 @@ -523,8 +523,9 @@
     1.4  
     1.5     dwTriggerButton = FFEB_NOTRIGGER;
     1.6  
     1.7 -   if (hap_constant->button != 0)
     1.8 -      dwTriggerButton = FFJOFS_BUTTON(hap_constant->button);
     1.9 +   if (button != 0) {
    1.10 +      dwTriggerButton = FFJOFS_BUTTON(button);
    1.11 +   }
    1.12  
    1.13     return dwTriggerButton;
    1.14  }