From df6bd1fceda815e27162952aabb55d18d9d678f6 Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Sun, 21 Nov 2004 12:14:34 +0000 Subject: [PATCH] - Use IntGdiSetRect instead of NtGdiSetRect. svn path=/trunk/; revision=11740 --- reactos/subsys/win32k/ntuser/winpos.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/reactos/subsys/win32k/ntuser/winpos.c b/reactos/subsys/win32k/ntuser/winpos.c index 90e833cce7b..5e269d6642a 100644 --- a/reactos/subsys/win32k/ntuser/winpos.c +++ b/reactos/subsys/win32k/ntuser/winpos.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: winpos.c,v 1.123 2004/11/20 16:46:06 weiden Exp $ +/* $Id: winpos.c,v 1.124 2004/11/21 12:14:34 navaraf Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -261,9 +261,9 @@ WinPosMinMaximize(PWINDOW_OBJECT WindowObject, UINT ShowFlag, RECT* NewPos) RDW_NOINTERNALPAINT); WindowObject->Style |= WS_MINIMIZE; WinPosFindIconPos(WindowObject, &InternalPos->IconPos); - NtGdiSetRect(NewPos, InternalPos->IconPos.x, InternalPos->IconPos.y, - NtUserGetSystemMetrics(SM_CXMINIMIZED), - NtUserGetSystemMetrics(SM_CYMINIMIZED)); + IntGdiSetRect(NewPos, InternalPos->IconPos.x, InternalPos->IconPos.y, + NtUserGetSystemMetrics(SM_CXMINIMIZED), + NtUserGetSystemMetrics(SM_CYMINIMIZED)); SwpFlags |= SWP_NOCOPYBITS; break; } @@ -279,8 +279,8 @@ WinPosMinMaximize(PWINDOW_OBJECT WindowObject, UINT ShowFlag, RECT* NewPos) WindowObject->Style &= ~WS_MINIMIZE; } WindowObject->Style |= WS_MAXIMIZE; - NtGdiSetRect(NewPos, InternalPos->MaxPos.x, InternalPos->MaxPos.y, - Size.x, Size.y); + IntGdiSetRect(NewPos, InternalPos->MaxPos.x, InternalPos->MaxPos.y, + Size.x, Size.y); break; } @@ -294,8 +294,8 @@ WinPosMinMaximize(PWINDOW_OBJECT WindowObject, UINT ShowFlag, RECT* NewPos) WinPosGetMinMaxInfo(WindowObject, &Size, &InternalPos->MaxPos, NULL, NULL); WindowObject->Style |= WS_MAXIMIZE; - NtGdiSetRect(NewPos, InternalPos->MaxPos.x, - InternalPos->MaxPos.y, Size.x, Size.y); + IntGdiSetRect(NewPos, InternalPos->MaxPos.x, + InternalPos->MaxPos.y, Size.x, Size.y); break; } else