fixed a bug that caused the caret creating many timers with the same id

svn path=/trunk/; revision=6635
This commit is contained in:
Thomas Bluemel 2003-11-12 22:53:31 +00:00
parent 2a02daaac3
commit 9208747968

View file

@ -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