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:
Rob Shearman 2008-07-30 13:18:55 +01:00 committed by Alexandre Julliard
parent 9f9d8dc683
commit 6f9baca256

View File

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