Author: jimtabor
Date: Sat May 23 04:43:32 2015
New Revision: 67856
URL:
http://svn.reactos.org/svn/reactos?rev=67856&view=rev
Log:
[NtUser]
- Since this is hiding the cursor, no window, just return. See CORE-9723.
Modified:
trunk/reactos/win32ss/user/ntuser/caret.c
Modified: trunk/reactos/win32ss/user/ntuser/caret.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/caret.…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/caret.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/caret.c [iso-8859-1] Sat May 23 04:43:32 2015
@@ -22,6 +22,12 @@
HDC hdc, hdcMem;
HBITMAP hbmOld;
BOOL bDone = FALSE;
+
+ if (pWnd == NULL)
+ {
+ TRACE("Null Window!\n");
+ return;
+ }
hdc = UserGetDCEx(pWnd, 0, DCX_USESTYLE | DCX_WINDOW);
if (!hdc)