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

This commit is contained in:
Francois Gouget 2011-07-11 12:03:18 +02:00 committed by Alexandre Julliard
parent 5e6d17384f
commit f00652fc63

View File

@ -21,6 +21,7 @@
*/ */
#define COBJMACROS #define COBJMACROS
#define NONAMELESSUNION
#include "wine/unicode.h" #include "wine/unicode.h"
#include "wine/debug.h" #include "wine/debug.h"
@ -122,7 +123,7 @@ static BOOL create_combobox_item(IShellFolder *folder, LPCITEMIDLIST pidl, IImag
switch(strret.uType) switch(strret.uType)
{ {
case STRRET_WSTR: case STRRET_WSTR:
item->pszText = strret.pOleStr; item->pszText = strret.u.pOleStr;
break; break;
default: default:
WINE_FIXME("Unimplemented STRRET type:%u\n",strret.uType); WINE_FIXME("Unimplemented STRRET type:%u\n",strret.uType);