Zhiyi Zhang (@zhiyi) commented about dlls/user32/edit.c:
LONG_PTR ExStyle;
- INT bw, bh;
- INT bw, bh, is_large = 0;
- RECT edit_rect; 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;
"too_large" might be more appropriate.