Module: wine Branch: master Commit: 2c3497b9082f5226140003a01ab0bcf696e0ad8f URL: http://source.winehq.org/git/wine.git/?a=commit;h=2c3497b9082f5226140003a01a...
Author: Austin English austinenglish@gmail.com Date: Mon Apr 27 18:39:49 2009 -0500
notepad: Don't append seconds to time format.
---
programs/notepad/dialog.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/programs/notepad/dialog.c b/programs/notepad/dialog.c index aa0a53c..0abbc33 100644 --- a/programs/notepad/dialog.c +++ b/programs/notepad/dialog.c @@ -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);