10 Sep
2024
10 Sep
'24
2:02 a.m.
[Documentation for EnumSystemLocalesA/W](https://learn.microsoft.com/en-us/windows/win32/api/winnls/nf-winnls-enumsys...) says "If [`LCID_ALTERNATE_SORTS`] is used with either `LCID_INSTALLED` or `LCID_SUPPORTED`, the installed or supported locales are retrieved, **as well as** the alternate sort locale identifiers." (emphasis mine). Until now, Wine *only* returned alternate sorts in this case, which apparently breaks some versions of NexusDB. This MR fixes the issue and adds some basic tests to ensure the issue isn't accidentally re-introduced at a later time. -- v6: kernel32/tests: Add basic tests for EnumSystemLocalesA/W https://gitlab.winehq.org/wine/wine/-/merge_requests/6455