mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 02:48:20 +00:00
Added leaving of critical section on all return cases.
This commit is contained in:
parent
1f9b4b0a8f
commit
48393a762e
|
@ -1251,6 +1251,7 @@ static void WINAPI dinput_mouse_event( DWORD dwFlags, DWORD dx, DWORD dy,
|
|||
(posX == This->win_centerX) && (posX == This->win_centerX)) {
|
||||
/* Warp has been done... */
|
||||
This->need_warp = WARP_DONE;
|
||||
LeaveCriticalSection(&(This->crit));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue