Austin English : notepad: Don't append seconds to time format.
Alexandre Julliard
julliard at winehq.org
Tue Apr 28 07:53:00 CDT 2009
Module: wine
Branch: master
Commit: 2c3497b9082f5226140003a01ab0bcf696e0ad8f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2c3497b9082f5226140003a01ab0bcf696e0ad8f
Author: Austin English <austinenglish at 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);
More information about the wine-cvs
mailing list