Author: ilardig
Date: Fri Jun 11 09:13:49 2010
New Revision: 47752
URL:
http://svn.reactos.org/svn/reactos?rev=47752&view=rev
Log:
[SHELL32]
- Correctly show accessed and modified times in file properties dialog (they were
exchanged).
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] Fri Jun 11 09:13:49 2010
@@ -327,13 +327,13 @@
if (SHFileGeneralGetFileTimeString(&accessed_time, resultstr))
{
+ hDlgCtrl = GetDlgItem(hwndDlg, 14019);
+ SendMessageW(hDlgCtrl, WM_SETTEXT, (WPARAM)NULL, (LPARAM)resultstr);
+ }
+
+ if (SHFileGeneralGetFileTimeString(&write_time, resultstr))
+ {
hDlgCtrl = GetDlgItem(hwndDlg, 14017);
- SendMessageW(hDlgCtrl, WM_SETTEXT, (WPARAM)NULL, (LPARAM)resultstr);
- }
-
- if (SHFileGeneralGetFileTimeString(&write_time, resultstr))
- {
- hDlgCtrl = GetDlgItem(hwndDlg, 14019);
SendMessageW(hDlgCtrl, WM_SETTEXT, (WPARAM)NULL, (LPARAM)resultstr);
}