The for loop in ITypeLib2_fnFindName was wrong (extra ';').

This commit is contained in:
Andreas Mohr 2001-03-05 19:32:50 +00:00 committed by Alexandre Julliard
parent 12bf7f1dde
commit b6474aebd4

View File

@ -2196,7 +2196,7 @@ static HRESULT WINAPI ITypeLib2_fnFindName(
if(!memcmp(szNameBuf,pFInfo->pParamDesc[i].Name,nNameBufLen))
goto ITypeLib2_fnFindName_exit;
}
for(pVInfo=pTInfo->varlist;pVInfo;pVInfo=pVInfo->next) ;
for(pVInfo=pTInfo->varlist;pVInfo;pVInfo=pVInfo->next)
if(!memcmp(szNameBuf,pVInfo->Name, nNameBufLen)) goto ITypeLib2_fnFindName_exit;
continue;
ITypeLib2_fnFindName_exit: