Module: wine Branch: master Commit: 6cc378cc67ed0e4b30a4b354353bdb0e74e96831 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=6cc378cc67ed0e4b30a4b354...
Author: Mikołaj Zalewski mikolaj@zalewski.pl Date: Mon Aug 21 23:30:48 2006 +0200
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 c849643..e7d591f 100644 --- a/dlls/shell32/pidl.c +++ b/dlls/shell32/pidl.c @@ -2082,7 +2082,7 @@ DWORD _ILGetFileSize (LPCITEMIDLIST pidl 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 9270e92..1582dee 100644 --- a/dlls/shell32/recyclebin.c +++ b/dlls/shell32/recyclebin.c @@ -424,7 +424,7 @@ static HRESULT WINAPI RecycleBin_GetDeta 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);