Commit 982ebc63 authored by Serge Ivanov's avatar Serge Ivanov Committed by Alexandre Julliard

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

parent c0b824d7
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment