shell32: Show file size in the details view in kilobytes.
This commit is contained in:
parent
000eddbc8c
commit
6cc378cc67
|
@ -2082,7 +2082,7 @@ DWORD _ILGetFileSize (LPCITEMIDLIST pidl, LPSTR pOut, UINT uOutSize)
|
|||
case PT_VALUE:
|
||||
dwSize = pdata->u.file.dwFileSize;
|
||||
if (pOut)
|
||||
StrFormatByteSizeA(dwSize, pOut, uOutSize);
|
||||
StrFormatKBSizeA(dwSize, pOut, uOutSize);
|
||||
return dwSize;
|
||||
}
|
||||
if (pOut)
|
||||
|
|
|
@ -424,7 +424,7 @@ static HRESULT WINAPI RecycleBin_GetDetailsOf(IShellFolder2 *iface, LPCITEMIDLIS
|
|||
PathRemoveFileSpecW(buffer);
|
||||
break;
|
||||
case COLUMN_SIZE:
|
||||
StrFormatByteSizeW(((LONGLONG)data.nFileSizeHigh<<32)|data.nFileSizeLow, buffer, MAX_PATH);
|
||||
StrFormatKBSizeW(((LONGLONG)data.nFileSizeHigh<<32)|data.nFileSizeLow, buffer, MAX_PATH);
|
||||
break;
|
||||
case COLUMN_MTIME:
|
||||
FormatDateTime(buffer, MAX_PATH, data.ftLastWriteTime);
|
||||
|
|
Loading…
Reference in New Issue