mirror of
https://github.com/reactos/reactos.git
synced 2024-07-17 18:06:11 +00:00
fixed a bug that caused the caret creating many timers with the same id
svn path=/trunk/; revision=6635
This commit is contained in:
parent
2a02daaac3
commit
9208747968
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
*/
|
*/
|
||||||
/* $Id: timer.c,v 1.16 2003/11/03 20:31:39 gdalsnes Exp $
|
/* $Id: timer.c,v 1.17 2003/11/12 22:53:31 weiden Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -226,7 +226,7 @@ IntSetTimer(HWND hWnd, UINT_PTR nIDEvent, UINT uElapse, TIMERPROC lpTimerFunc, B
|
||||||
IntReleaseWindowObject(WindowObject);
|
IntReleaseWindowObject(WindowObject);
|
||||||
|
|
||||||
/* remove timer if already in the queue */
|
/* remove timer if already in the queue */
|
||||||
MsgTimer = IntRemoveTimer(hWnd, nIDEvent, ThreadID, FALSE);
|
MsgTimer = IntRemoveTimer(hWnd, nIDEvent, ThreadID, SystemTimer);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 1
|
#if 1
|
||||||
|
|
Loading…
Reference in a new issue