mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 06:37:00 +00:00
notepad: Don't append seconds to time format.
This commit is contained in:
parent
73eea0d05f
commit
2c3497b908
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue