mirror of
https://github.com/reactos/reactos.git
synced 2025-04-22 13:10:39 +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
1 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* 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
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -226,7 +226,7 @@ IntSetTimer(HWND hWnd, UINT_PTR nIDEvent, UINT uElapse, TIMERPROC lpTimerFunc, B
|
|||
IntReleaseWindowObject(WindowObject);
|
||||
|
||||
/* remove timer if already in the queue */
|
||||
MsgTimer = IntRemoveTimer(hWnd, nIDEvent, ThreadID, FALSE);
|
||||
MsgTimer = IntRemoveTimer(hWnd, nIDEvent, ThreadID, SystemTimer);
|
||||
}
|
||||
|
||||
#if 1
|
||||
|
|
Loading…
Reference in a new issue