msacm32.drv: Check for message type before comparing handles.
Fixes a valgrind warning.
This commit is contained in:
parent
6589d9ab95
commit
63699cf58c
|
@ -88,7 +88,7 @@ static void CALLBACK wodCallback(HWAVEOUT hWave, UINT uMsg, DWORD_PTR dwInstance
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hWave != wom->u.out.hInnerWave && uMsg != WOM_OPEN)
|
if (uMsg != WOM_OPEN && hWave != wom->u.out.hInnerWave)
|
||||||
ERR("Shouldn't happen (%p %p)\n", hWave, wom->u.out.hInnerWave);
|
ERR("Shouldn't happen (%p %p)\n", hWave, wom->u.out.hInnerWave);
|
||||||
|
|
||||||
switch (uMsg) {
|
switch (uMsg) {
|
||||||
|
|
Loading…
Reference in New Issue