msacm32.drv: Don't access uninitialized memory.

oldstable
Ken Thomases 2009-10-21 10:05:15 -05:00 committed by Alexandre Julliard
parent f86d10ffb6
commit 0377c0d3e8
1 changed files with 1 additions and 1 deletions

View File

@ -673,7 +673,7 @@ static void CALLBACK widCallback(HWAVEIN hWave, UINT uMsg, DWORD_PTR dwInstance,
return;
}
if (hWave != wim->u.in.hInnerWave && uMsg != WIM_OPEN)
if (uMsg != WIM_OPEN && hWave != wim->u.in.hInnerWave)
ERR("Shouldn't happen (%p %p)\n", hWave, wim->u.in.hInnerWave);
switch (uMsg) {