Mercurial > sdl-ios-xcode
comparison src/haptic/darwin/SDL_syshaptic.c @ 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 |
comparison
equal
deleted
inserted
replaced
2552:ee048e7bc909 | 2553:3f853f075bc0 |
---|---|
918 SDL_OutOfMemory(); | 918 SDL_OutOfMemory(); |
919 goto err_hweffect; | 919 goto err_hweffect; |
920 } | 920 } |
921 | 921 |
922 /* Get the type. */ | 922 /* Get the type. */ |
923 type = SDL_SYS_HapticEffectType(effect->type); | 923 type = SDL_SYS_HapticEffectType(base->type); |
924 if (type == NULL) { | 924 if (type == NULL) { |
925 goto err_hweffect; | 925 goto err_hweffect; |
926 } | 926 } |
927 | 927 |
928 /* Get the effect. */ | 928 /* Get the effect. */ |