changeset 2595:1dd8cf9614ad gsoc2008_force_feedback

GUID is not a pointer as I thought.
author Edgar Simo <bobbens@gmail.com>
date Tue, 05 Aug 2008 10:40:45 +0000
parents 3e59fe26671f
children b4be02fc05e4
files src/haptic/win32/SDL_syshaptic.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/haptic/win32/SDL_syshaptic.c	Tue Aug 05 10:39:37 2008 +0000
+++ b/src/haptic/win32/SDL_syshaptic.c	Tue Aug 05 10:40:45 2008 +0000
@@ -193,10 +193,10 @@
  * 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)