changeset 2564:c9348710a98a gsoc2008_force_feedback

Missed a bracket.
author Edgar Simo <bobbens@gmail.com>
date Thu, 31 Jul 2008 10:26:21 +0000
parents be2ea885d70b
children 698c776c642f
files src/haptic/darwin/SDL_syshaptic.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;