mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
- Correctly handle ClipCursor(NULL) case.
svn path=/trunk/; revision=10408
This commit is contained in:
parent
17fbcf5e93
commit
312d818b93
1 changed files with 2 additions and 2 deletions
|
@ -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 <w32k.h>
|
||||
|
||||
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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue