summaryrefslogtreecommitdiffstats
path: root/generic/tkConsole.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-15 17:18:10 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-15 17:18:10 (GMT)
commitbb9fcbaee8f8513172b74262ec4025085dcfb6c2 (patch)
tree3c2c896fb9fe907582ccadf3be17be4cc255dd7f /generic/tkConsole.c
parent50bba11de943e80fd387c0f5a04a67b1d4b17f39 (diff)
parent02b19fff4fc9cd0b78a7b94f644f508780fb0f55 (diff)
downloadtk-bb9fcbaee8f8513172b74262ec4025085dcfb6c2.zip
tk-bb9fcbaee8f8513172b74262ec4025085dcfb6c2.tar.gz
tk-bb9fcbaee8f8513172b74262ec4025085dcfb6c2.tar.bz2
More flexible search for win32 tclConfig.sh, backported from TEA.
Don't use deprecated "case" any more. Don't do unnecessary Tcl_PkgRequire(..., "Tcl", ...), the preceding Tcl_InitStubs() call already does that, both for dynamic loaded as wel as the static case. Disallow Tk 8.6.x to be loaded in any Tcl 8.6 alpha/beta release.
Diffstat (limited to 'generic/tkConsole.c')
-rw-r--r--generic/tkConsole.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkConsole.c b/generic/tkConsole.c
index eb67fa4..d7a6261 100644
--- a/generic/tkConsole.c
+++ b/generic/tkConsole.c
@@ -224,7 +224,7 @@ Tk_InitConsoleChannels(
* only an issue when Tk is loaded dynamically.
*/
- if (Tcl_InitStubs(interp, "8.6", 0) == NULL) {
+ if (Tcl_InitStubs(interp, "8.6.0", 0) == NULL) {
return;
}