]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Add comment.
authorBruno Haible <bruno@clisp.org>
Tue, 9 Jan 2007 14:30:48 +0000 (14:30 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:14:36 +0000 (12:14 +0200)
gettext-runtime/intl/ChangeLog
gettext-runtime/intl/localename.c

index f98aedb76554260d2f712fbb382d8d43c6c074d6..2e103cc5cf6271cb1190c5b39af2d58583d087c3 100644 (file)
@@ -1,3 +1,7 @@
+2007-01-09  Bruno Haible  <bruno@clisp.org>
+
+       * localename.c (_nl_locale_name_default): Add comment.
+
 2006-12-21  Bruno Haible  <bruno@clisp.org>
 
        * localename.c (SUBLANG_BENGALI_INDIA): Change value from 0 to 1.
index 95133b0b1e459175553c59efbe24f92941cb525c..ca61fdf339e2711802517d7de7dfc4b2961ad107 100644 (file)
@@ -1,5 +1,5 @@
 /* Determine the current selected locale.
-   Copyright (C) 1995-1999, 2000-2006 Free Software Foundation, Inc.
+   Copyright (C) 1995-1999, 2000-2007 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify it
    under the terms of the GNU Library General Public License as published
@@ -1085,6 +1085,12 @@ _nl_locale_name_default (void)
     /* Use native Win32 API locale ID.  */
     lcid = GetThreadLocale ();
 
+    /* We cannot use the Win32 API function GetLocaleInfo() because it
+       does not exist on Windows 95/98/ME unless "Microsoft Layer for Unicode"
+       is installed.
+       Also, we cannot use the Win32 API function GetLocaleInfoEx() because
+       it does not exist on Windows 95/98/ME/NT/2000/XP.  */
+
     /* Strip off the sorting rules, keep only the language part.  */
     langid = LANGIDFROMLCID (lcid);