diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-04-28 13:17:20 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-04-28 13:17:20 (GMT) |
commit | c519b824fa166cc910bc7ef59252c1c184e4ba84 (patch) | |
tree | 830a2c62e45769b190370415d4c1d7c1c0c7d759 /win/tclWinConsole.c | |
parent | 4336f614ad52c35a1e41c9b1d737dd086ab85a83 (diff) | |
download | tcl-c519b824fa166cc910bc7ef59252c1c184e4ba84.zip tcl-c519b824fa166cc910bc7ef59252c1c184e4ba84.tar.gz tcl-c519b824fa166cc910bc7ef59252c1c184e4ba84.tar.bz2 |
(cherry-pick from "fix-1997007" branch): fix typo- resp. copy-paste-bug (using wrong threadInfo pointer in ConsoleOutputProc, should be writer, not reader)
Diffstat (limited to 'win/tclWinConsole.c')
-rw-r--r-- | win/tclWinConsole.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tclWinConsole.c b/win/tclWinConsole.c index ab55035..71facef 100644 --- a/win/tclWinConsole.c +++ b/win/tclWinConsole.c @@ -808,7 +808,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; |