[WIN32K:NTUSER]
[reactos.git] / reactos / win32ss / user / ntuser / input.c
index 22ac414..16acf5a 100644 (file)
@@ -526,7 +526,7 @@ UserAttachThreadInput(PTHREADINFO ptiFrom, PTHREADINFO ptiTo, BOOL fAttach)
               ptiTo->MessageQueue->QF_flags    ^= ((ptiTo->MessageQueue->QF_flags ^ ptiFrom->MessageQueue->QF_flags) & QF_CAPTURELOCKED);
               RtlCopyMemory(ptiTo->MessageQueue->CaretInfo,
                             ptiFrom->MessageQueue->CaretInfo,
-                            sizeof(ptiTo->MessageQueue->CaretInfo));
+                            sizeof(*ptiTo->MessageQueue->CaretInfo));
               IntSetFocusMessageQueue(NULL);
               IntSetFocusMessageQueue(ptiTo->MessageQueue);
               gptiForeground = ptiTo;