Austin English : notepad: Fix date format to match windows.

Alexandre Julliard julliard at winehq.org
Mon Apr 27 08:04:05 CDT 2009


Module: wine
Branch: master
Commit: 2a98ea48cd18c5c80dcaa27d336d6367be3ff720
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2a98ea48cd18c5c80dcaa27d336d6367be3ff720

Author: Austin English <austinenglish at gmail.com>
Date:   Fri Apr 24 16:46:47 2009 -0500

notepad: Fix date format to match windows.

---

 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 0595f69..d97e102 100644
--- a/programs/notepad/dialog.c
+++ b/programs/notepad/dialog.c
@@ -659,7 +659,7 @@ VOID DIALOG_EditTimeDate(VOID)
 
     SendMessage(Globals.hEdit, EM_REPLACESEL, TRUE, (LPARAM)spaceW);
 
-    GetDateFormat(LOCALE_USER_DEFAULT, DATE_LONGDATE, &st, NULL, szDate, MAX_STRING_LEN);
+    GetDateFormat(LOCALE_USER_DEFAULT, 0, &st, NULL, szDate, MAX_STRING_LEN);
     SendMessage(Globals.hEdit, EM_REPLACESEL, TRUE, (LPARAM)szDate);
 }
 




More information about the wine-cvs mailing list