Missed a bracket. gsoc2008_force_feedback
authorEdgar Simo <bobbens@gmail.com>
Thu, 31 Jul 2008 10:26:21 +0000
branchgsoc2008_force_feedback
changeset 2564c9348710a98a
parent 2563 be2ea885d70b
child 2565 698c776c642f
Missed a bracket.
src/haptic/darwin/SDL_syshaptic.c
     1.1 --- a/src/haptic/darwin/SDL_syshaptic.c	Thu Jul 31 10:25:49 2008 +0000
     1.2 +++ b/src/haptic/darwin/SDL_syshaptic.c	Thu Jul 31 10:26:21 2008 +0000
     1.3 @@ -791,6 +791,7 @@
     1.4           if ((envelope->dwAttackTime == 0) && (envelope->dwFadeTime == 0)) {
     1.5              SDL_free(envelope);
     1.6              dest->lpEnvelope = NULL;
     1.7 +         }
     1.8           else {
     1.9              envelope->dwAttackLevel = CONVERT(hap_ramp->attack_level);
    1.10              envelope->dwAttackTime = hap_ramp->attack_length * 1000;