Commit 6cc378cc authored by Mikołaj Zalewski's avatar Mikołaj Zalewski Committed by Alexandre Julliard

shell32: Show file size in the details view in kilobytes.

parent 000eddbc
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment