19 Jul
2023
19 Jul
'23
9:28 p.m.
`wcsncpy` and `GetLocaleInfoEx` take length in number of characters, but `size` and `ret` counts number of bytes. Previous commit changed a call to `GetLocaleInfoW` which counts lenght in `TCHAR`s (aka bytes), to the current `GetLocaleInfoEx`, which is probably the source of this confusion. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3358