summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authordavygrvy <davygrvy>2007-10-12 01:39:15 (GMT)
committerdavygrvy <davygrvy>2007-10-12 01:39:15 (GMT)
commit92fcebecb2b4745e2697d146d1ea40b40c2b8372 (patch)
tree198fc5e06caaf0cc10f422d1b6eb917653f65ce4 /win
parenteb02d6d9d6aefcf7a0e3869fa9667eeea49a6748 (diff)
downloadtk-92fcebecb2b4745e2697d146d1ea40b40c2b8372.zip
tk-92fcebecb2b4745e2697d146d1ea40b40c2b8372.tar.gz
tk-92fcebecb2b4745e2697d146d1ea40b40c2b8372.tar.bz2
* win/winMain.c: Replaced incorrect comments in main() to descibe
why the console widget does not need to be created for this application entry point (if used). Must have been a bad copy/paste of WinMain() from 10 years back.
Diffstat (limited to 'win')
-rw-r--r--win/winMain.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/win/winMain.c b/win/winMain.c
index ba1e510..558d0ac 100644
--- a/win/winMain.c
+++ b/win/winMain.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: winMain.c,v 1.24 2007/09/07 00:34:58 dgp Exp $
+ * RCS: @(#) $Id: winMain.c,v 1.25 2007/10/12 01:39:15 davygrvy Exp $
*/
#include "tkInt.h"
@@ -274,9 +274,8 @@ main(
setlocale(LC_ALL, "C");
/*
- * Create the console channels and install them as the standard channels.
- * All I/O will be discarded until Tk_CreateConsoleWindow is called to
- * attach the console to a text widget.
+ * Console emulation widget not required as this entry is from the
+ * console subsystem, thus stdin,out,err already have end-points.
*/
consoleRequired = FALSE;