From 5f41e799b304c4295f7b9e3df4f096d2d974a4f9 Mon Sep 17 00:00:00 2001 From: Edgar Simo Date: Wed, 30 Jul 2008 14:09:10 +0000 Subject: [PATCH] Fixed typo. --- src/haptic/darwin/SDL_syshaptic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/haptic/darwin/SDL_syshaptic.c b/src/haptic/darwin/SDL_syshaptic.c index d1713188f..fc282e4c7 100644 --- a/src/haptic/darwin/SDL_syshaptic.c +++ b/src/haptic/darwin/SDL_syshaptic.c @@ -920,7 +920,7 @@ SDL_SYS_HapticNewEffect(SDL_Haptic * haptic, struct haptic_effect * effect, } /* Get the type. */ - type = SDL_SYS_HapticEffectType(effect->type); + type = SDL_SYS_HapticEffectType(base->type); if (type == NULL) { goto err_hweffect; }