[NtUser]
authorJames Tabor <james.tabor@reactos.org>
Sat, 23 May 2015 04:43:32 +0000 (04:43 +0000)
committerJames Tabor <james.tabor@reactos.org>
Sat, 23 May 2015 04:43:32 +0000 (04:43 +0000)
- Since this is hiding the cursor, no window, just return. See CORE-9723.

svn path=/trunk/; revision=67856

reactos/win32ss/user/ntuser/caret.c

index b52177b..6b8eeb8 100644 (file)
@@ -23,6 +23,12 @@ co_IntDrawCaret(PWND pWnd, PTHRDCARETINFO CaretInfo)
     HBITMAP hbmOld;
     BOOL bDone = FALSE;
 
+    if (pWnd == NULL)
+    {
+       TRACE("Null Window!\n");
+       return;
+    }
+
     hdc = UserGetDCEx(pWnd, 0, DCX_USESTYLE | DCX_WINDOW);
     if (!hdc)
     {