From 312d818b93d878cd01081ebfe72e1ef6f2ae4cf5 Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Sat, 7 Aug 2004 00:25:10 +0000 Subject: [PATCH] - Correctly handle ClipCursor(NULL) case. svn path=/trunk/; revision=10408 --- reactos/subsys/win32k/objects/cursoricon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/subsys/win32k/objects/cursoricon.c b/reactos/subsys/win32k/objects/cursoricon.c index 5c743425eef..800dbab9072 100644 --- a/reactos/subsys/win32k/objects/cursoricon.c +++ b/reactos/subsys/win32k/objects/cursoricon.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: cursoricon.c,v 1.63 2004/07/09 20:09:35 navaraf Exp $ */ +/* $Id: cursoricon.c,v 1.64 2004/08/07 00:25:10 navaraf Exp $ */ #include PCURICON_OBJECT FASTCALL @@ -700,7 +700,7 @@ NtUserClipCursor( DesktopWindow = IntGetWindowObject(WinStaObject->ActiveDesktop->DesktopWindow); if((Rect.right > Rect.left) && (Rect.bottom > Rect.top) - && DesktopWindow) + && DesktopWindow && UnsafeRect != NULL) { MOUSEINPUT mi;