diff --git a/dlls/msacm32.drv/wavemap.c b/dlls/msacm32.drv/wavemap.c index 9e58a3dc2d2..96f462678f9 100644 --- a/dlls/msacm32.drv/wavemap.c +++ b/dlls/msacm32.drv/wavemap.c @@ -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) {