diff src/joystick/win32/SDL_dxjoystick.c @ 2652:380d926cc5a7 gsoc2008_force_feedback

Fix for mingw compilation of haptic subsystem by Alam.
author Edgar Simo <bobbens@gmail.com>
date Mon, 25 Aug 2008 17:30:39 +0000
parents 9bad8efcb75e
children
line wrap: on
line diff
--- a/src/joystick/win32/SDL_dxjoystick.c	Mon Aug 25 10:10:13 2008 +0000
+++ b/src/joystick/win32/SDL_dxjoystick.c	Mon Aug 25 17:30:39 2008 +0000
@@ -85,7 +85,7 @@
 SetDIerror(const char *function, HRESULT code)
 {
     SDL_SetError("%s() [%s]: %s", function,
-                 DXGetErrorString(code), DXGetErrorDescription(code));
+                 DXGetErrorString8A(code), DXGetErrorDescription8A(code));
 }