mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
tinus <o112w8r02@sneakemail.com>
Fix the caret timer warnings Don't kill the timer unless we added it. svn path=/trunk/; revision=13721
This commit is contained in:
parent
756ab632ca
commit
53f1824b0e
1 changed files with 6 additions and 4 deletions
|
@ -240,11 +240,13 @@ NtUserCreateCaret(
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
IntKillTimer(hWnd, IDCARETTIMER, TRUE);
|
|
||||||
|
|
||||||
ThreadQueue = (PUSER_MESSAGE_QUEUE)PsGetWin32Thread()->MessageQueue;
|
ThreadQueue = (PUSER_MESSAGE_QUEUE)PsGetWin32Thread()->MessageQueue;
|
||||||
|
|
||||||
IntHideCaret(ThreadQueue->CaretInfo);
|
if (ThreadQueue->CaretInfo->Visible)
|
||||||
|
{
|
||||||
|
IntKillTimer(hWnd, IDCARETTIMER, TRUE);
|
||||||
|
IntHideCaret(ThreadQueue->CaretInfo);
|
||||||
|
}
|
||||||
|
|
||||||
ThreadQueue->CaretInfo->hWnd = hWnd;
|
ThreadQueue->CaretInfo->hWnd = hWnd;
|
||||||
if(hBitmap)
|
if(hBitmap)
|
||||||
|
|
Loading…
Reference in a new issue