mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
tinus <[email protected]>
Fix the caret timer warnings Don't kill the timer unless we added it. svn path=/trunk/; revision=13721
This commit is contained in:
@@ -240,11 +240,13 @@ NtUserCreateCaret(
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
IntKillTimer(hWnd, IDCARETTIMER, TRUE);
|
||||
|
||||
ThreadQueue = (PUSER_MESSAGE_QUEUE)PsGetWin32Thread()->MessageQueue;
|
||||
|
||||
IntHideCaret(ThreadQueue->CaretInfo);
|
||||
|
||||
if (ThreadQueue->CaretInfo->Visible)
|
||||
{
|
||||
IntKillTimer(hWnd, IDCARETTIMER, TRUE);
|
||||
IntHideCaret(ThreadQueue->CaretInfo);
|
||||
}
|
||||
|
||||
ThreadQueue->CaretInfo->hWnd = hWnd;
|
||||
if(hBitmap)
|
||||
|
||||
Reference in New Issue
Block a user