From 9d74dca27cb63f1a3479c81fb06068dcdfaebdb7 Mon Sep 17 00:00:00 2001 From: Christian Costa Date: Tue, 29 Apr 2003 22:47:04 +0000 Subject: [PATCH] Small fix in IDirectInputDevice2Impl_QueryInterface. --- dlls/dinput/device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/dinput/device.c b/dlls/dinput/device.c index c1a54958cf0..07c045616f9 100644 --- a/dlls/dinput/device.c +++ b/dlls/dinput/device.c @@ -341,8 +341,8 @@ HRESULT WINAPI IDirectInputDevice2AImpl_QueryInterface( *ppobj = This; return 0; } - if (IsEqualGUID(&IID_IDirectInputDevice2A,riid)) { - IDirectInputDevice2_AddRef(iface); + if (IsEqualGUID(&IID_IDirectInputDevice7A,riid)) { + IDirectInputDevice7_AddRef(iface); *ppobj = This; return 0; }