diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32-gettext.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/w32-gettext.c b/src/w32-gettext.c index 5b15a77..eb65424 100644 --- a/src/w32-gettext.c +++ b/src/w32-gettext.c @@ -648,8 +648,8 @@ my_nl_locale_name (const char *categoryname) if (retval != NULL && retval[0] != '\0') return retval; - /* Use native Win32 API locale ID. */ - lcid = GetThreadLocale (); + /* Use native Win32 API language ID. */ + lcid = GetThreadUILanguage (); /* Strip off the sorting rules, keep only the language part. */ langid = LANGIDFROMLCID (lcid); } |
