From 2a6974f3557e9ea9322ce412a97b60f760146b6a Mon Sep 17 00:00:00 2001 From: Royce Mitchell III Date: Wed, 3 Mar 2004 04:09:20 +0000 Subject: [PATCH] patch by m-t: small patch to improve compatibility. svn path=/trunk/; revision=8514 --- reactos/subsys/win32k/objects/fillshap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reactos/subsys/win32k/objects/fillshap.c b/reactos/subsys/win32k/objects/fillshap.c index 4b77c936e58..56e304f1533 100644 --- a/reactos/subsys/win32k/objects/fillshap.c +++ b/reactos/subsys/win32k/objects/fillshap.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: fillshap.c,v 1.41 2004/02/19 21:12:10 weiden Exp $ */ +/* $Id: fillshap.c,v 1.42 2004/03/03 04:09:20 royce Exp $ */ #undef WIN32_LEAN_AND_MEAN #include @@ -279,9 +279,9 @@ NtGdiEllipse( HPenToBrushObj(&PenBrush, dc->w.hPen); nLeftRect += dc->w.DCOrgX; - nRightRect += dc->w.DCOrgX; + nRightRect += dc->w.DCOrgX - 1; nTopRect += dc->w.DCOrgY; - nBottomRect += dc->w.DCOrgY; + nBottomRect += dc->w.DCOrgY - 1; RadiusX = max((nRightRect - nLeftRect) >> 1, 1); RadiusY = max((nBottomRect - nTopRect) >> 1, 1);