[ros-diffs] [pschweitzer] 35044: Revert r35043 on shell32/fprop.c

pschweitzer at svn.reactos.org pschweitzer at svn.reactos.org
Sat Aug 2 20:35:09 CEST 2008


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?rev=35044&r1=35043&r2=35044&view=diff
==============================================================================
--- 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)



More information about the Ros-diffs mailing list