Fixed typo. gsoc2008_force_feedback
authorEdgar Simo <bobbens@gmail.com>
Wed, 30 Jul 2008 14:09:10 +0000
branchgsoc2008_force_feedback
changeset 25533f853f075bc0
parent 2552 ee048e7bc909
child 2554 2681a04c2d3d
Fixed typo.
src/haptic/darwin/SDL_syshaptic.c
     1.1 --- a/src/haptic/darwin/SDL_syshaptic.c	Wed Jul 30 14:08:21 2008 +0000
     1.2 +++ b/src/haptic/darwin/SDL_syshaptic.c	Wed Jul 30 14:09:10 2008 +0000
     1.3 @@ -920,7 +920,7 @@
     1.4     }
     1.5  
     1.6     /* Get the type. */
     1.7 -   type = SDL_SYS_HapticEffectType(effect->type);
     1.8 +   type = SDL_SYS_HapticEffectType(base->type);
     1.9     if (type == NULL) {
    1.10        goto err_hweffect;
    1.11     }