summaryrefslogtreecommitdiffstats
path: root/win/tclWinConsole.c
diff options
context:
space:
mode:
Diffstat (limited to 'win/tclWinConsole.c')
-rw-r--r--win/tclWinConsole.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tclWinConsole.c b/win/tclWinConsole.c
index d4893ee..da995c5 100644
--- a/win/tclWinConsole.c
+++ b/win/tclWinConsole.c
@@ -828,7 +828,7 @@ ConsoleOutputProc(
int *errorCode) /* Where to store error code. */
{
ConsoleInfo *infoPtr = instanceData;
- ConsoleThreadInfo *threadInfo = &infoPtr->reader;
+ ConsoleThreadInfo *threadInfo = &infoPtr->writer;
DWORD bytesWritten, timeout;
*errorCode = 0;