msacm32: Check correct variable.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2017-06-08 17:57:12 -05:00 committed by Alexandre Julliard
parent 0f0fb98498
commit 7493364b4b

View file

@ -424,7 +424,7 @@ MMRESULT WINAPI acmFormatDetailsW(HACMDRIVER had, PACMFORMATDETAILSW pafd, DWORD
if (pafd->fdwSupport)
return MMSYSERR_INVALPARAM;
if (pafd->pwfx->wFormatTag == WAVE_FORMAT_UNKNOWN)
if (pafd->dwFormatTag == WAVE_FORMAT_UNKNOWN)
return MMSYSERR_INVALPARAM;
switch (fdwDetails) {