mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
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
Block a user