We don't need to call LPtoDP in here as far as PatBlt does it internally.

This commit is contained in:
Serge Ivanov 2000-02-25 20:50:30 +00:00 committed by Alexandre Julliard
parent c0b824d7de
commit 982ebc638f
1 changed files with 0 additions and 2 deletions

View File

@ -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;