[WIN32K:NTUSER]
[reactos.git] / reactos / win32ss / user / ntuser / window.c
index bcc915e..24e8cd8 100644 (file)
@@ -417,7 +417,7 @@ static void IntSendDestroyMsg(HWND hWnd)
          }
       }
 
-      if (ti->MessageQueue->CaretInfo->hWnd == UserHMGetHandle(Window))
+      if (ti->MessageQueue->CaretInfo.hWnd == UserHMGetHandle(Window))
       {
          co_IntDestroyCaret(ti);
       }