Commit 63699cf5 authored by Maarten Lankhorst's avatar Maarten Lankhorst Committed by Alexandre Julliard

msacm32.drv: Check for message type before comparing handles.

Fixes a valgrind warning.
parent 6589d9ab
......@@ -88,7 +88,7 @@ static void CALLBACK wodCallback(HWAVEOUT hWave, UINT uMsg, DWORD_PTR dwInstance
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);
switch (uMsg) {
......
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