26 Aug
2024
26 Aug
'24
1:13 p.m.
Zhiyi Zhang (@zhiyi) commented about dlls/user32/edit.c:
ExStyle = GetWindowLongPtrW(es->hwndSelf, GWL_EXSTYLE); - - CopyRect(&es->format_rect, rc); - - 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); This line still uses tabs. All changes should either keep using tabs or all the new changes should use spaces. Avoid mixing them in one commit.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/6304#note_80000