oleview: Fix compilation on systems that don't support nameless unions.
This commit is contained in:
parent
e46b99d238
commit
e0f2593446
|
@ -470,7 +470,7 @@ int EnumEnums(ITypeInfo *pTypeInfo, int cVars, HTREEITEM hParent)
|
|||
{
|
||||
VARIANT var;
|
||||
VariantInit(&var);
|
||||
if (VariantChangeType(&var, pVarDesc->lpvarValue, 0, VT_BSTR) == S_OK)
|
||||
if (VariantChangeType(&var, U(*pVarDesc).lpvarValue, 0, VT_BSTR) == S_OK)
|
||||
{
|
||||
AddToStrW(wszText, wszConst);
|
||||
AddToStrW(wszText, wszSpace);
|
||||
|
|
Loading…
Reference in New Issue