Fixed bug in acmFormatTagEnumW.

This commit is contained in:
Eric Pouech 2002-05-11 22:56:13 +00:00 committed by Alexandre Julliard
parent bf98cf8404
commit dfbb04df23
1 changed files with 2 additions and 2 deletions

View File

@ -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;
} }
} }
} }