April 1, 2026
11:34 a.m.
On Wed Apr 1 11:22:30 2026 +0000, Trung Nguyen wrote:
changed this line in [version 10 of the diff](/wine/wine/-/merge_requests/10460/diffs?diff_id=256631&start_sha=9ff888a170bada2c5e1b7b6385c0fd7a421484a1#07f58557da1f6a172fb851181f5958a07643494b_205_203) I moved the handling to `pf_handle_string`. Doing it further down the call stack, such as directly in `pf_printf`, will cause massive code duplication, since `pf_printf` does not know which character type it got passed.
To prevent code duplication I also moved the wide/narrow detection logic in `pf_handle_string` to a separate `static` `inline` function, `pf_is_str_wide`. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10460#note_134652