changeset 2935:9905c1e522b8

[xemacs-hg @ 2005-09-16 08:51:25 by mta] * intl-win32.c (mswindows_current_locale): Define in non-MULE build.
author mta
date Fri, 16 Sep 2005 08:51:26 +0000
parents c4e9281cd650
children 7726019e0fc7
files src/ChangeLog src/intl-win32.c
diffstat 2 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Thu Sep 15 21:51:12 2005 +0000
+++ b/src/ChangeLog	Fri Sep 16 08:51:26 2005 +0000
@@ -1,3 +1,8 @@
+2005-09-12  Mike Alexander  <mta@arbortext.com>
+
+	* intl-win32.c (mswindows_current_locale): Define in non-MULE
+	build.
+
 2005-09-14  Marcus Crestani  <crestani@xemacs.org>
 
 	* mc-alloc.c (set_lookup_table): Adjust parameter to other memset
--- a/src/intl-win32.c	Thu Sep 15 21:51:12 2005 +0000
+++ b/src/intl-win32.c	Fri Sep 16 08:51:26 2005 +0000
@@ -1550,6 +1550,13 @@
   return CP_ACP;
 }
 
+LCID
+mswindows_current_locale (void)
+{
+  /* In non-MULE version just return the default locale */
+  return GetUserDefaultLCID ();
+}
+
 #endif /* MULE */