Skip to content

Commit 7f79e1c

Browse files
authored
[NTUSER] IntNotifyWinEvent(): Fix 4th argument copypasta (reactos#9138)
The caret EVENT_OBJECT_SHOW notification passed OBJID_CARET as idChild, while the other four caret events in the file correctly pass CHILDID_SELF.
1 parent 529f3c6 commit 7f79e1c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎win32ss/user/ntuser/caret.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ BOOL FASTCALL co_UserShowCaret(PWND Window OPTIONAL)
285285
pWnd = ValidateHwndNoErr(ThreadQueue->CaretInfo.hWnd);
286286
if (!ThreadQueue->CaretInfo.Showing && pWnd)
287287
{
288-
IntNotifyWinEvent(EVENT_OBJECT_SHOW, pWnd, OBJID_CARET, OBJID_CARET, 0);
288+
IntNotifyWinEvent(EVENT_OBJECT_SHOW, pWnd, OBJID_CARET, CHILDID_SELF, 0);
289289
}
290290
if ((INT)gpsi->dtCaretBlink > 0)
291291
{

0 commit comments

Comments
 (0)