WideCharToMultiByte normally null-terminates the output if input length is -1,
but it doesn't do so if the output buffer is too small.
--
v2: dsound: Make sure to null-terminate strings for callbacks.
https://gitlab.winehq.org/wine/wine/-/merge_requests/8420
Used by Diablo IV's screen reader.
--
v3: sapi/xml: Parse the pitch attribute in the <prosody> SSML element.
sapi/xml: Parse the volume attribute in the <prosody> SSML element.
sapi/xml: Parse the rate attribute in the SSML <prosody> element.
https://gitlab.winehq.org/wine/wine/-/merge_requests/8544
On Fri Jul 11 16:46:21 2025 +0000, Shaun Ren wrote:
> changed this line in [version 2 of the diff](/wine/wine/-/merge_requests/8544/diffs?diff_id=192545&start_sha=9999f1394977932d0c75eb27023aa4554fdbba42#08277b5f4b0eb61ddd63ea16ff2ad91073f5af50_507_547)
Done.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/8544#note_109594