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

Commit

Permalink
Browse files Browse the repository at this point in the history
Missed a bracket.
  • Loading branch information
bobbens committed Jul 31, 2008
1 parent 8a56d7c commit 8d7af52
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/haptic/darwin/SDL_syshaptic.c
Expand Up @@ -791,6 +791,7 @@ SDL_SYS_ToFFEFFECT( SDL_Haptic * haptic, FFEFFECT * dest, SDL_HapticEffect * src
if ((envelope->dwAttackTime == 0) && (envelope->dwFadeTime == 0)) {
SDL_free(envelope);
dest->lpEnvelope = NULL;
}
else {
envelope->dwAttackLevel = CONVERT(hap_ramp->attack_level);
envelope->dwAttackTime = hap_ramp->attack_length * 1000;
Expand Down

0 comments on commit 8d7af52

Please sign in to comment.