Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
GUID is not a pointer as I thought.
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbens committed Aug 5, 2008
1 parent ac70067 commit d182649
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/haptic/win32/SDL_syshaptic.c
Expand Up @@ -193,10 +193,10 @@ SDL_SYS_HapticName(int index)
* Callback to get all supported effects.
*/
#define EFFECT_TEST(e,s) \
if ((pei->guid->Data1 == e.Data1) && \
(pei->guid->Data2 == e.Data2) && \
(pei->guid->Data3 == e.Data3) && \
(SDL_strcmp(pei->guid->Data4,e.Data4)==0) \
if ((pei->guid.Data1 == e.Data1) && \
(pei->guid.Data2 == e.Data2) && \
(pei->guid.Data3 == e.Data3) && \
(SDL_strcmp(pei->guid.Data4,e.Data4)==0) \
haptic->supported |= (s)
static BOOL CALLBACK
DI_EffectCallback(LPCDIEFFECTINFO pei, LPVOID pv)
Expand Down

0 comments on commit d182649

Please sign in to comment.