[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #65128] Incorrect use of GetUserPreferredUILanguages() in langprefs
From: |
Bruno Haible |
Subject: |
[bug #65128] Incorrect use of GetUserPreferredUILanguages() in langprefs |
Date: |
Mon, 8 Jan 2024 00:57:28 -0500 (EST) |
Update of bug#65128 (group gettext):
Status: None => Fixed
Assigned to: None => haible
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #1:
Thanks for the report.
> 1) Has incorrect prototype for GetUserPreferredUILanguages()
The difference is a no-op, since DWORD, BOOL, and ULONG are all the same
types. But you are right, it's better to use Microsoft's documented
prototype.
> 2) ... the function actually returns 1 (i.e. not 0), and doesn't set any
error.
Indeed, this is what I too see on Windows 10.
Fixed through
https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=commitdiff;h=9e5704fa209898e28f6b059c8fc2ed9cd6ec2abb
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65128>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/