Missed a bracket. gsoc2008_force_feedback
authorEdgar Simo <bobbens@gmail.com>
Thu, 31 Jul 2008 10:26:21 +0000
branchgsoc2008_force_feedback
changeset 2564 c9348710a98a
parent 2563 be2ea885d70b
child 2565 698c776c642f
Missed a bracket.
src/haptic/darwin/SDL_syshaptic.c
--- a/src/haptic/darwin/SDL_syshaptic.c	Thu Jul 31 10:25:49 2008 +0000
+++ b/src/haptic/darwin/SDL_syshaptic.c	Thu Jul 31 10:26:21 2008 +0000
@@ -791,6 +791,7 @@
          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;