Module: wine Branch: refs/heads/master Commit: 83bda8e6d441d4da51461307ecd0524439a6d3f7 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=83bda8e6d441d4da51461307... Author: Vitaliy Margolen <wine-patch(a)kievinfo.com> Date: Sun Jul 16 19:14:04 2006 -0600 dinput: Unacquire correct device. --- dlls/dinput/keyboard.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/dinput/keyboard.c b/dlls/dinput/keyboard.c index d9a8c43..f6195b1 100644 --- a/dlls/dinput/keyboard.c +++ b/dlls/dinput/keyboard.c @@ -518,7 +518,7 @@ static HRESULT WINAPI SysKeyboardAImpl_A if (current_lock != NULL) { FIXME("Not more than one keyboard can be acquired at the same time.\n"); - SysKeyboardAImpl_Unacquire(iface); + SysKeyboardAImpl_Unacquire((LPDIRECTINPUTDEVICE8A)current_lock); } current_lock = This;