Re: [PATCH] comctl32: Use SetRect() instead of open coding it.
28 May
2016
28 May
'16
1:45 p.m.
if (dis->itemAction & ODA_FOCUS) { - rect.left = xbase + xioff - 1; - rect.right = rect.left + txtsize.cx + 2; - rect.top = dis->rcItem.top; - rect.bottom = dis->rcItem.bottom; + SetRect(&rect, xbase + xioff - 1, dis->rcItem.top, rect.left + txtsize.cx + 2, dis->rcItem.bottom); DrawFocusRect(dis->hDC, &rect); } This change is obviously wrong. I think it's better to leave this one as is.
3487
Age (days ago)
3487
Last active (days ago)
0 comments
1 participants
participants (1)
-
Nikolay Sivov