March 31, 2026
5:52 p.m.
Piotr Caban (@piotr) commented about dlls/msvcrt/printf.h:
{ int r, ret;
+ /* UNICODE_STRING passes the number of bytes. */ + if(len > 0 && flags->Format == 'Z') + len /= sizeof(wchar_t); I think the code is easier to follow if pf_output_format_wstr always takes length in characters. Please change the caller instead.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10460#note_134549