[2/4] dinput: Use tested DirectInput version instead of latest

Vincent Pelletier plr.vincent at gmail.com
Wed Jan 21 16:28:54 CST 2009


Sorry, I forgot to number my first patch of this serie. It is:

http://www.winehq.org/pipermail/wine-patches/2009-January/068138.html

It is needed to apply [4/4]

-- 
Vincent Pelletier
-------------- next part --------------
From f236f9f8ed1c46dacc5c98902729705f4e3fa670 Mon Sep 17 00:00:00 2001
From: Vincent Pelletier <plr.vincent at gmail.com>
Date: Wed, 21 Jan 2009 23:00:25 +0100
Subject: Use tested DirectInput version instead of latest.

---
 dlls/dinput/tests/joystick.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/dinput/tests/joystick.c b/dlls/dinput/tests/joystick.c
index 77cfa4c..0d5a34b 100644
--- a/dlls/dinput/tests/joystick.c
+++ b/dlls/dinput/tests/joystick.c
@@ -373,7 +373,7 @@ static BOOL CALLBACK EnumJoysticks(
 
         if (effect)
         {
-            hr = IDirectInputEffect_Initialize(effect, hInstance, DIRECTINPUT_VERSION,
+            hr = IDirectInputEffect_Initialize(effect, hInstance, data->version,
                                                &GUID_ConstantForce);
             ok(hr==DI_OK,"IDirectInputEffect_Initialize failed: %08x\n", hr);
             hr = IDirectInputEffect_SetParameters(effect, &eff, DIEP_AXES | DIEP_DIRECTION |
-- 
1.5.6.5



More information about the wine-patches mailing list