Commit 7493364b authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

msacm32: Check correct variable.

parent 0f0fb984
......@@ -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) {
......
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