diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2017-04-10 16:21:31 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2017-04-10 16:21:31 (GMT) |
commit | 821193ec1ef8bacf91eb146890e3f81b0f49feeb (patch) | |
tree | 7221399014a4da29c68aa2d8f411378dbfdb5710 /generic/tclTimer.c | |
parent | f15e17cb4325805681b5479390866fae1621a4d9 (diff) | |
download | tcl-821193ec1ef8bacf91eb146890e3f81b0f49feeb.zip tcl-821193ec1ef8bacf91eb146890e3f81b0f49feeb.tar.gz tcl-821193ec1ef8bacf91eb146890e3f81b0f49feeb.tar.bz2 |
More minor style fixes.
Diffstat (limited to 'generic/tclTimer.c')
-rw-r--r-- | generic/tclTimer.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/generic/tclTimer.c b/generic/tclTimer.c index 6d3938b..3467305 100644 --- a/generic/tclTimer.c +++ b/generic/tclTimer.c @@ -1053,11 +1053,17 @@ AfterDelay( if (diff > TCL_TIME_MAXIMUM_SLICE) { diff = TCL_TIME_MAXIMUM_SLICE; } - if (diff == 0 && TCL_TIME_BEFORE(now, endTime)) diff = 1; + if (diff == 0 && TCL_TIME_BEFORE(now, endTime)) { + diff = 1; + } if (diff > 0) { Tcl_Sleep((long) diff); - if (diff < SLEEP_OFFLOAD_GETTIMEOFDAY) break; - } else break; + if (diff < SLEEP_OFFLOAD_GETTIMEOFDAY) { + break; + } + } else { + break; + } } else { diff = TCL_TIME_DIFF_MS(iPtr->limit.time, now); #ifndef TCL_WIDE_INT_IS_LONG |