mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 01:24:38 +00:00
- Made the argument to W32kIsEmptyRect constant; fixes some warnings.
svn path=/trunk/; revision=5291
This commit is contained in:
parent
938493d413
commit
f858d1a51d
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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 <windows.h>
|
||||
#include <ddk/ntddk.h>
|
||||
#include <win32k/region.h>
|
||||
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue