Skip to content
Snippets Groups Projects
Commit b309b373 authored by Noomen Hamza's avatar Noomen Hamza Committed by Alexandre Julliard
Browse files

The fast window frame size should be the same as the frame size used

by NC_DrawFrame function.
parent fc348622
No related branches found
Tags wine-950918
No related merge requests found
......@@ -143,9 +143,9 @@ BOOL16 WINAPI FastWindowFrame16( HDC16 hdc, const RECT16 *rect,
rect->right - rect->left - width, height, rop );
PatBlt( hdc, rect->left, rect->top + height, width,
rect->bottom - rect->top - height, rop );
PatBlt( hdc, rect->left + width, rect->bottom,
PatBlt( hdc, rect->left + width, rect->bottom - 1,
rect->right - rect->left - width, -height, rop );
PatBlt( hdc, rect->right, rect->top, -width,
PatBlt( hdc, rect->right - 1, rect->top, -width,
rect->bottom - rect->top - height, rop );
SelectObject( hdc, hbrush );
return TRUE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment