mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 06:30:37 +00:00
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;
|
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);
|
||||||
|
Loading…
Reference in New Issue
Block a user