oleview: Fix compilation on systems that don't support nameless unions.

This commit is contained in:
Francois Gouget 2007-03-04 02:00:13 +01:00 committed by Alexandre Julliard
parent e46b99d238
commit e0f2593446

View File

@ -470,7 +470,7 @@ int EnumEnums(ITypeInfo *pTypeInfo, int cVars, HTREEITEM hParent)
{ {
VARIANT var; VARIANT var;
VariantInit(&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, wszConst);
AddToStrW(wszText, wszSpace); AddToStrW(wszText, wszSpace);