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@uniontech.com Change-Id: Icc0f250f5f4faba1bee8326fc911a4fc9cd7c012
-- v6: user32: Fix the number of characters processed by DrawTextExW. user32/tests: Add tests for DrawTextExW.