Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Missed a bracket.

  • Loading branch information
bobbens committed Jul 31, 2008
1 parent 8a56d7c commit 8d7af521717d0f766553bee1d15e3b6d9cb8d698
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/haptic/darwin/SDL_syshaptic.c
@@ -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;

0 comments on commit 8d7af52

Please sign in to comment.