# HG changeset patch # User Edgar Simo # Date 1217426950 0 # Node ID 3f853f075bc0b498844f309d82077c8b96ca6a0e # Parent ee048e7bc9091c21f2bfd57670139bb791cdd50f Fixed typo. diff -r ee048e7bc909 -r 3f853f075bc0 src/haptic/darwin/SDL_syshaptic.c --- 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; }