changeset 2553:3f853f075bc0 gsoc2008_force_feedback

Fixed typo.
author Edgar Simo <bobbens@gmail.com>
date Wed, 30 Jul 2008 14:09:10 +0000
parents ee048e7bc909
children 2681a04c2d3d
files src/haptic/darwin/SDL_syshaptic.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/haptic/darwin/SDL_syshaptic.c	Wed Jul 30 14:08:21 2008 +0000
+++ b/src/haptic/darwin/SDL_syshaptic.c	Wed Jul 30 14:09:10 2008 +0000
@@ -920,7 +920,7 @@
    }
 
    /* Get the type. */
-   type = SDL_SYS_HapticEffectType(effect->type);
+   type = SDL_SYS_HapticEffectType(base->type);
    if (type == NULL) {
       goto err_hweffect;
    }