From f00652fc63525a3e73d80ab59d5014a471e9d22f Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Mon, 11 Jul 2011 12:03:18 +0200 Subject: [PATCH] explorer: Fix compilation on systems that don't support nameless unions. --- programs/explorer/explorer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/programs/explorer/explorer.c b/programs/explorer/explorer.c index 60f41570619..5c9cad208ca 100644 --- a/programs/explorer/explorer.c +++ b/programs/explorer/explorer.c @@ -21,6 +21,7 @@ */ #define COBJMACROS +#define NONAMELESSUNION #include "wine/unicode.h" #include "wine/debug.h" @@ -122,7 +123,7 @@ static BOOL create_combobox_item(IShellFolder *folder, LPCITEMIDLIST pidl, IImag switch(strret.uType) { case STRRET_WSTR: - item->pszText = strret.pOleStr; + item->pszText = strret.u.pOleStr; break; default: WINE_FIXME("Unimplemented STRRET type:%u\n",strret.uType);