projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0ffcaf
)
[NtUser]
author
James Tabor
<james.tabor@reactos.org>
Sat, 23 May 2015 04:43:32 +0000
(
04:43
+0000)
committer
James 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
patch
|
blob
|
history
diff --git
a/reactos/win32ss/user/ntuser/caret.c
b/reactos/win32ss/user/ntuser/caret.c
index
b52177b
..
6b8eeb8
100644
(file)
--- a/
reactos/win32ss/user/ntuser/caret.c
+++ b/
reactos/win32ss/user/ntuser/caret.c
@@
-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)
{