Author: pschweitzer
Date: Sat Aug 2 13:35:08 2008
New Revision: 35044
URL:
http://svn.reactos.org/svn/reactos?rev=35044&view=rev
Log:
Revert r35043 on shell32/fprop.c
Modified:
trunk/reactos/dll/win32/shell32/fprop.c
Modified: trunk/reactos/dll/win32/shell32/fprop.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/fprop.c?…
==============================================================================
--- trunk/reactos/dll/win32/shell32/fprop.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/fprop.c [iso-8859-1] Sat Aug 2 13:35:08 2008
@@ -349,10 +349,10 @@
return FALSE;
}
CloseHandle(hFile);
- if (!StrFormatByteSizeW(file_size.QuadPart, resultstr,
sizeof(resultstr)/sizeof(resultstr[0])));
+ if (!StrFormatByteSizeW(file_size.QuadPart, resultstr, sizeof(resultstr) /
sizeof(WCHAR)))
return FALSE;
hDlgCtrl = GetDlgItem(hwndDlg, 14011);
- ERR("result size %u resultstr %s %s\n", file_size.QuadPart,
debugstr_w(resultstr), resultstr);
+ TRACE("result size %u resultstr %s\n", file_size.QuadPart,
debugstr_w(resultstr));
SendMessageW(hDlgCtrl, WM_SETTEXT, (WPARAM)NULL, (LPARAM)resultstr);
if (lpfilesize)