mirror of
https://github.com/reactos/wine.git
synced 2025-02-18 03:48:01 +00:00
oleview: Respect size of array ITypeInfo_GetNames returns.
This commit is contained in:
parent
a5317eb846
commit
49e8770563
@ -531,10 +531,10 @@ int EnumFuncs(ITypeInfo *pTypeInfo, int cFuncs, HTREEITEM hParent)
|
||||
AddToTLDataStrW(tld, bstrName);
|
||||
AddToTLDataStrW(tld, wszOpenBrackets2);
|
||||
|
||||
for(j=0; j<pFuncDesc->cParams; j++)
|
||||
for(j=0; j<namesNo-1; j++)
|
||||
{
|
||||
if(j != 0) AddToTLDataStrW(tld, wszComa);
|
||||
if(pFuncDesc->cParams != 1)
|
||||
if(namesNo-1 != 1)
|
||||
{
|
||||
AddToTLDataStrW(tld, wszNewLine);
|
||||
AddSpaces(tld, tabSize);
|
||||
|
Loading…
x
Reference in New Issue
Block a user