mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-11 09:17:18 +00:00
winmm: Fix a potential infinite recursion bug.
This commit is contained in:
parent
019f4af1c2
commit
71eb8e10cd
|
@ -3195,7 +3195,7 @@ MMRESULT16 WINAPI joyReleaseCapture16(UINT16 wID)
|
|||
*/
|
||||
MMRESULT16 WINAPI joySetCapture16(HWND16 hWnd, UINT16 wID, UINT16 wPeriod, BOOL16 bChanged)
|
||||
{
|
||||
return joySetCapture16(hWnd, wID, wPeriod, bChanged);
|
||||
return joySetCapture(HWND_32(hWnd), wID, wPeriod, bChanged);
|
||||
}
|
||||
|
||||
/**************************************************************************
|
||||
|
@ -3203,7 +3203,7 @@ MMRESULT16 WINAPI joySetCapture16(HWND16 hWnd, UINT16 wID, UINT16 wPeriod, BOOL1
|
|||
*/
|
||||
MMRESULT16 WINAPI joySetThreshold16(UINT16 wID, UINT16 wThreshold)
|
||||
{
|
||||
return joySetThreshold16(wID,wThreshold);
|
||||
return joySetThreshold(wID,wThreshold);
|
||||
}
|
||||
|
||||
/**************************************************************************
|
||||
|
|
Loading…
Reference in a new issue