Author: cwittich
Date: Thu Jun 4 18:18:48 2015
New Revision: 68015
URL:
http://svn.reactos.org/svn/reactos?rev=68015&view=rev
Log:
[SHELL32]
fix reported disk size
Modified:
trunk/reactos/dll/win32/shell32/folders/CDrivesFolder.cpp
Modified: trunk/reactos/dll/win32/shell32/folders/CDrivesFolder.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/folders/…
==============================================================================
--- trunk/reactos/dll/win32/shell32/folders/CDrivesFolder.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/folders/CDrivesFolder.cpp [iso-8859-1] Thu Jun 4
18:18:48 2015
@@ -793,7 +793,7 @@
{
_ILSimpleGetText (pidl, szPath, MAX_PATH);
GetDiskFreeSpaceExA (szPath, NULL, &ulBytes, NULL);
- StrFormatByteSizeA (ulBytes.LowPart, psd->str.cStr, MAX_PATH);
+ StrFormatByteSize64A (ulBytes.QuadPart, psd->str.cStr, MAX_PATH);
}
break;
case 3: /* free size */
@@ -801,7 +801,7 @@
{
_ILSimpleGetText (pidl, szPath, MAX_PATH);
GetDiskFreeSpaceExA (szPath, &ulBytes, NULL, NULL);
- StrFormatByteSizeA (ulBytes.LowPart, psd->str.cStr, MAX_PATH);
+ StrFormatByteSize64A (ulBytes.QuadPart, psd->str.cStr, MAX_PATH);
}
break;
}