notepad: Don't append seconds to time format.

This commit is contained in:
Austin English 2009-04-27 18:39:49 -05:00 committed by Alexandre Julliard
parent 73eea0d05f
commit 2c3497b908
1 changed files with 1 additions and 1 deletions

View File

@ -654,7 +654,7 @@ VOID DIALOG_EditTimeDate(VOID)
GetLocalTime(&st);
GetTimeFormat(LOCALE_USER_DEFAULT, 0, &st, NULL, szDate, MAX_STRING_LEN);
GetTimeFormat(LOCALE_USER_DEFAULT, TIME_NOSECONDS, &st, NULL, szDate, MAX_STRING_LEN);
SendMessage(Globals.hEdit, EM_REPLACESEL, TRUE, (LPARAM)szDate);
SendMessage(Globals.hEdit, EM_REPLACESEL, TRUE, (LPARAM)spaceW);