summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
Diffstat (limited to 'win')
-rw-r--r--win/tclWinConsole.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/win/tclWinConsole.c b/win/tclWinConsole.c
index 748f93c..e0edc46 100644
--- a/win/tclWinConsole.c
+++ b/win/tclWinConsole.c
@@ -1204,10 +1204,10 @@ ConsoleWriterThread(
&count) == FALSE) {
infoPtr->writeError = GetLastError();
done = 1;
- } else {
- toWrite -= count;
- buf += count;
+ break;
}
+ toWrite -= count;
+ buf += count;
}
/*