26 Aug
2024
26 Aug
'24
1:13 p.m.
Zhiyi Zhang (@zhiyi) commented about dlls/user32/edit.c:
- if (ExStyle & WS_EX_CLIENTEDGE) { + + if (EDIT_is_valid_format_rect(es, rc)) + { + CopyRect(&es->format_rect, rc); + GetClientRect(es->hwndSelf, &edit_rect); + if ((rc->bottom - rc->top) > (edit_rect.bottom - edit_rect.top)) + is_large = 1; + } + else + { + GetClientRect(es->hwndSelf, &es->format_rect); + is_large = 0; + } + + if (ExStyle & WS_EX_CLIENTEDGE && !is_large) { Same here.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/6304#note_80001