summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
Diffstat (limited to 'win')
-rw-r--r--win/tclWinNotify.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/win/tclWinNotify.c b/win/tclWinNotify.c
index 5c02108..fb92a7d 100644
--- a/win/tclWinNotify.c
+++ b/win/tclWinNotify.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclWinNotify.c,v 1.17 2005/01/21 22:25:35 andreas_kupries Exp $
+ * RCS: @(#) $Id: tclWinNotify.c,v 1.18 2005/04/26 00:45:01 das Exp $
*/
#include "tclInt.h"
@@ -452,7 +452,9 @@ Tcl_WaitForEvent(
myTime.sec = timePtr->sec;
myTime.usec = timePtr->usec;
- (*tclScaleTimeProcPtr) (&myTime, tclTimeClientData);
+ if (myTime.sec != 0 || myTime.usec != 0) {
+ (*tclScaleTimeProcPtr) (&myTime, tclTimeClientData);
+ }
timeout = myTime.sec * 1000 + myTime.usec / 1000;
} else {