1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 03:45:57 +00:00

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

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);