Commit 9d74dca2 authored by Christian Costa's avatar Christian Costa Committed by Alexandre Julliard

Small fix in IDirectInputDevice2Impl_QueryInterface.

parent 711e1ba0
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment