April 8, 2026
12:49 a.m.
On Fri Apr 3 20:04:23 2026 +0000, Vishnunithyasoundhar S wrote:
changed this line in [version 47 of the diff](/wine/wine/-/merge_requests/10192/diffs?diff_id=257621&start_sha=267d9f37cec72f59a0358c255be5fbcb283054c4#6c845445f68f8d3b54ba3798c9bb9e781b28b2ec_2137_2141) Done.
Ran into a smol hiccup with `lstrcpynW( ... , ..., 6) ` \[Fixed now\] I didnt know `lstrcpynW` the `iMaxLength ` also accounts for the null character that it adds to the end so it was only copying 5 characters and putting a null at the 6th position XD After tinkering and realizations made it `lstrcpynW( ... , ..., 7) ` and let the rest of the flow overwrite on that null so that it wont matter. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10192#note_135421