Commit dfbb04df authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

Fixed bug in acmFormatTagEnumW.

parent bf98cf84
...@@ -781,8 +781,8 @@ MMRESULT WINAPI acmFormatTagEnumW(HACMDRIVER had, PACMFORMATTAGDETAILSW paftd, ...@@ -781,8 +781,8 @@ MMRESULT WINAPI acmFormatTagEnumW(HACMDRIVER had, PACMFORMATTAGDETAILSW paftd,
bPcmDone = TRUE; bPcmDone = TRUE;
} }
if (!(fnCallback)((HACMDRIVERID)padid, paftd, dwInstance, padid->fdwSupport)) { if (!(fnCallback)((HACMDRIVERID)padid, paftd, dwInstance, padid->fdwSupport)) {
padid = NULL; /* to exist the two nested for loops */ acmDriverClose(had, 0);
break; return MMSYSERR_NOERROR;
} }
} }
} }
......
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