We don't need to call LPtoDP in here as far as PatBlt does it internally.
This commit is contained in:
parent
c0b824d7de
commit
982ebc638f
|
@ -1302,8 +1302,6 @@ INT WINAPI FrameRect( HDC hdc, const RECT *rect, HBRUSH hbrush )
|
|||
HBRUSH prevBrush;
|
||||
RECT r = *rect;
|
||||
|
||||
LPtoDP(hdc, (POINT *)&r, 2);
|
||||
|
||||
if ( (r.right <= r.left) || (r.bottom <= r.top) ) return 0;
|
||||
if (!(prevBrush = SelectObject( hdc, hbrush ))) return 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue