Description:
When flags does not include DT_CALCRECT, since len is calculated in the middle,
it will be reduced to zero. Resulting in the length of the processed string that
is finally returned to zero and the non-processing string length is unchanged.
But some application taking the non-processing string length to zero as the loop
end condition.
Log:
Signed-off-by: chenjiangyi <chenjiangyi(a)uniontech.com>
Change-Id: Icc0f250f5f4faba1bee8326fc911a4fc9cd7c012
--
v3: user32/tests: Add tests for DrawTextExW.
user32: Fix the number of characters processed by DrawTextExW.
https://gitlab.winehq.org/wine/wine/-/merge_requests/4812
--
v11: vkd3d-shader/dxil: Handle the DXIL SWITCH instruction.
vkd3d-shader/dxil: Handle the DXIL PHI instruction.
vkd3d-shader/dxil: Handle the DXIL BR instruction conditional variant.
vkd3d-shader/dxil: Handle the DXIL BR instruction unconditional variant.
vkd3d-shader/dxil: Introduce a code block terminator struct.
vkd3d-shader/ir: Include an initial label instruction in the first control flow block.
vkd3d-shader/spirv: Do not emit function code before the main prolog.
vkd3d-shader/spirv: Declare indexable temps as Private unless function scope is specified.
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/491
--
v24: vkd3d-shader/ir: Include an initial label instruction in the first control flow block.
vkd3d-shader/spirv: Do not emit function code before the main prolog.
vkd3d-shader/spirv: Declare indexable temps as Private unless function scope is specified.
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/450