From b309b373857813243b15a4e3411077eca2de1deb Mon Sep 17 00:00:00 2001 From: Noomen Hamza Date: Sat, 4 Sep 1999 14:25:55 +0000 Subject: [PATCH] The fast window frame size should be the same as the frame size used by NC_DrawFrame function. --- graphics/bitblt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/graphics/bitblt.c b/graphics/bitblt.c index 01af36766ed..89be2468ec5 100644 --- a/graphics/bitblt.c +++ b/graphics/bitblt.c @@ -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; -- 2.11.4.GIT