diff --git a/reactos/subsys/win32k/include/rect.h b/reactos/subsys/win32k/include/rect.h index d05c2f6ed94..26efcc87a6e 100644 --- a/reactos/subsys/win32k/include/rect.h +++ b/reactos/subsys/win32k/include/rect.h @@ -5,7 +5,7 @@ W32kSetRect(PRECT Rect, INT left, INT top, INT right, INT bottom); BOOL STDCALL W32kSetEmptyRect(PRECT Rect); BOOL STDCALL -W32kIsEmptyRect(PRECT Rect); +W32kIsEmptyRect(const RECT* Rect); BOOL STDCALL W32kIntersectRect(PRECT Dest, const RECT* Src1, const RECT* Src2); BOOL STDCALL diff --git a/reactos/subsys/win32k/objects/rect.c b/reactos/subsys/win32k/objects/rect.c index b4bab5a9a78..aab44fc5860 100644 --- a/reactos/subsys/win32k/objects/rect.c +++ b/reactos/subsys/win32k/objects/rect.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: rect.c,v 1.4 2003/05/18 17:16:18 ea Exp $ */ +/* $Id: rect.c,v 1.5 2003/07/27 18:34:47 dwelch Exp $ */ #include #include #include @@ -79,7 +79,7 @@ W32kSetEmptyRect(PRECT Rect) } BOOL STDCALL -W32kIsEmptyRect(PRECT Rect) +W32kIsEmptyRect(const RECT* Rect) { return(Rect->left >= Rect->right || Rect->top >= Rect->bottom); }