From 6cc378cc67ed0e4b30a4b354353bdb0e74e96831 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Miko=C5=82aj=20Zalewski?= Date: Mon, 21 Aug 2006 23:30:48 +0200 Subject: [PATCH] shell32: Show file size in the details view in kilobytes. --- dlls/shell32/pidl.c | 2 +- dlls/shell32/recyclebin.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/shell32/pidl.c b/dlls/shell32/pidl.c index c849643897b..e7d591fa971 100644 --- a/dlls/shell32/pidl.c +++ b/dlls/shell32/pidl.c @@ -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) diff --git a/dlls/shell32/recyclebin.c b/dlls/shell32/recyclebin.c index 9270e9221f9..1582dee9648 100644 --- a/dlls/shell32/recyclebin.c +++ b/dlls/shell32/recyclebin.c @@ -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); -- 2.11.4.GIT