]> git.ipfire.org Git - thirdparty/gettext.git/commit
intl: Fix the Windows MUI code, so that it works on Windows 10.
authorBruno Haible <bruno@clisp.org>
Mon, 8 Jan 2024 05:51:40 +0000 (06:51 +0100)
committerBruno Haible <bruno@clisp.org>
Mon, 8 Jan 2024 05:51:40 +0000 (06:51 +0100)
commit9e5704fa209898e28f6b059c8fc2ed9cd6ec2abb
treeb73e2af8d4f861f1f88ec145489b7fbfb1aa0cfe
parente1381b84beaf968909a64e9785c4d63d82784670
intl: Fix the Windows MUI code, so that it works on Windows 10.

Reported by <lrn1986@gmail.com> at <https://savannah.gnu.org/bugs/?65128>.

* gettext-runtime/intl/langprefs.c (_nl_language_preferences_win32_mui): Make
GetUserPreferredUILanguages prototype with Microsoft's current documentation.
Allow the first GetUserPreferredUILanguages call to succeed.
gettext-runtime/intl/langprefs.c