Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Not being able to compile locally gets on my nerves.
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbens committed Jul 30, 2008
1 parent 0974e84 commit bf4e780
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/haptic/darwin/SDL_syshaptic.c
Expand Up @@ -523,8 +523,9 @@ FFGetTriggerButton( Uint16 button )

dwTriggerButton = FFEB_NOTRIGGER;

if (hap_constant->button != 0)
dwTriggerButton = FFJOFS_BUTTON(hap_constant->button);
if (button != 0) {
dwTriggerButton = FFJOFS_BUTTON(button);
}

return dwTriggerButton;
}
Expand Down

0 comments on commit bf4e780

Please sign in to comment.