oleaut32: Fix the loading of the parameter name for SLTG propget functions.
The parameter could have an offset of 0xffff/0xfffe, in which case the parameter name should be the name of the function, rather than NULL.
This commit is contained in:
parent
9f9d8dc683
commit
6f9baca256
|
@ -3308,6 +3308,9 @@ static void SLTG_DoFuncs(char *pBlk, char *pFirstItem, ITypeInfoImpl *pTI,
|
|||
if(paramName) {
|
||||
(*ppFuncDesc)->pParamDesc[param].Name =
|
||||
TLB_MultiByteToBSTR(paramName);
|
||||
} else {
|
||||
(*ppFuncDesc)->pParamDesc[param].Name =
|
||||
SysAllocString((*ppFuncDesc)->Name);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue