Francois Gouget : explorer: Fix compilation on systems that don' t support nameless unions.
Alexandre Julliard
julliard at winehq.org
Mon Jul 11 13:17:50 CDT 2011
Module: wine
Branch: master
Commit: f00652fc63525a3e73d80ab59d5014a471e9d22f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f00652fc63525a3e73d80ab59d5014a471e9d22f
Author: Francois Gouget <fgouget at free.fr>
Date: Mon Jul 11 12:03:18 2011 +0200
explorer: Fix compilation on systems that don't support nameless unions.
---
programs/explorer/explorer.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/programs/explorer/explorer.c b/programs/explorer/explorer.c
index 60f4157..5c9cad2 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);
More information about the wine-cvs
mailing list