From 7bf39cb24542a1875469294f1a47cc3fec3df37e Mon Sep 17 00:00:00 2001 From: Martin Fuchs Date: Sun, 4 Jan 2004 23:15:36 +0000 Subject: [PATCH] use DUMMYUNIONNAME instead of plain 'u' svn path=/trunk/; revision=7456 --- reactos/lib/shell32/shfldr_mycomp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reactos/lib/shell32/shfldr_mycomp.c b/reactos/lib/shell32/shfldr_mycomp.c index 59db48cb461..c149718f880 100644 --- a/reactos/lib/shell32/shfldr_mycomp.c +++ b/reactos/lib/shell32/shfldr_mycomp.c @@ -627,20 +627,20 @@ static HRESULT WINAPI ISF_MyComputer_fnGetDetailsOf (IShellFolder2 * iface, LPCI hr = IShellFolder_GetDisplayNameOf (iface, pidl, SHGDN_NORMAL | SHGDN_INFOLDER, &psd->str); break; case 1: /* type */ - _ILGetFileType (pidl, psd->str.u.cStr, MAX_PATH); + _ILGetFileType (pidl, psd->str.DUMMYUNIONNAME.cStr, MAX_PATH); break; case 2: /* total size */ if (_ILIsDrive (pidl)) { _ILSimpleGetText (pidl, szPath, MAX_PATH); GetDiskFreeSpaceExA (szPath, NULL, &ulBytes, NULL); - StrFormatByteSizeA (ulBytes.u.LowPart, psd->str.u.cStr, MAX_PATH); + StrFormatByteSizeA (ulBytes.DUMMYUNIONNAME.LowPart, psd->str.u.cStr, MAX_PATH); } break; case 3: /* free size */ if (_ILIsDrive (pidl)) { _ILSimpleGetText (pidl, szPath, MAX_PATH); GetDiskFreeSpaceExA (szPath, &ulBytes, NULL, NULL); - StrFormatByteSizeA (ulBytes.u.LowPart, psd->str.u.cStr, MAX_PATH); + StrFormatByteSizeA (ulBytes.DUMMYUNIONNAME.LowPart, psd->str.DUMMYUNIONNAME.cStr, MAX_PATH); } break; }