Re: [PATCH v4 0/1] MR8178: user32: Fix uiLengthDrawn calculation in DrawTextExW().
10 Aug
2025
10 Aug
'25
10:10 a.m.
On Fri Aug 8 09:27:01 2025 +0000, Zhiyi Zhang wrote:
You can remove `(LPWSTR)` cast. If the `(LPWSTR)` cast in `(LPWSTR)L"a 1\tb2c3"` is removed, the compilation warning shown in the image below will appear during compilation. I don't want to add constant string definitions like `tabstring[]` inside the test_DrawTextCalcRect() function, so I directly used the `(LPWSTR)` cast. 
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/8178#note_112569
129
Age (days ago)
129
Last active (days ago)
0 comments
1 participants
participants (1)
-
JiangYi Chen (@meshine)