User: mta
Date: 05/09/16 10:51:28
Modified: xemacs/src ChangeLog intl-win32.c
Log:
* intl-win32.c (mswindows_current_locale): Define in non-MULE build.
Revision Changes Path
1.856 +5 -0 XEmacs/xemacs/src/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/ChangeLog,v
retrieving revision 1.855
retrieving revision 1.856
diff -u -p -r1.855 -r1.856
--- ChangeLog 2005/09/14 14:24:28 1.855
+++ ChangeLog 2005/09/16 08:51:25 1.856
@@ -1,3 +1,8 @@
+2005-09-12 Mike Alexander <mta(a)arbortext.com>
+
+ * intl-win32.c (mswindows_current_locale): Define in non-MULE
+ build.
+
2005-09-14 Marcus Crestani <crestani(a)xemacs.org>
* mc-alloc.c (set_lookup_table): Adjust parameter to other memset
1.16 +7 -0 XEmacs/xemacs/src/intl-win32.c
Index: intl-win32.c
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/intl-win32.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -p -r1.15 -r1.16
--- intl-win32.c 2005/03/13 09:21:04 1.15
+++ intl-win32.c 2005/09/16 08:51:26 1.16
@@ -1550,6 +1550,13 @@ mswindows_locale_to_code_page (LCID UNUS
return CP_ACP;
}
+LCID
+mswindows_current_locale (void)
+{
+ /* In non-MULE version just return the default locale */
+ return GetUserDefaultLCID ();
+}
+
#endif /* MULE */