oleview: Fixed crash with loading typelib information.

This commit is contained in:
Alistair Leslie-Hughes 2008-07-08 17:52:43 +10:00 committed by Alexandre Julliard
parent a4037eb463
commit d4f0685173
1 changed files with 1 additions and 1 deletions

View File

@ -677,7 +677,7 @@ static int EnumFuncs(ITypeInfo *pTypeInfo, TYPEATTR *pTypeAttr, HTREEITEM hParen
if (V_VT(param) == VT_BSTR)
{
AddToTLDataStrW(tld, wszInvertedComa);
AddToTLDataStrW(tld, V_BSTR(&var));
AddToTLDataStrW(tld, V_BSTR(param));
AddToTLDataStrW(tld, wszInvertedComa);
} else if (VariantChangeType(&var, param, 0, VT_BSTR) == S_OK)
AddToTLDataStrW(tld, V_BSTR(&var));