diff options
author | nijtmans@users.sourceforge.net <jan.nijtmans> | 2013-01-15 16:58:13 (GMT) |
---|---|---|
committer | nijtmans@users.sourceforge.net <jan.nijtmans> | 2013-01-15 16:58:13 (GMT) |
commit | 7b4b067a9ed86c42cae861bd5e3f9e605a660e06 (patch) | |
tree | 89b665fd3ad7c4b1874f9a51e38d7fcac17c4b28 /generic/tkConsole.c | |
parent | 66eae1830b335f3ca0d36b16ca085860790a8e7f (diff) | |
parent | 0a93ff61541376329acefdac9e9f536437626e96 (diff) | |
download | tk-7b4b067a9ed86c42cae861bd5e3f9e605a660e06.zip tk-7b4b067a9ed86c42cae861bd5e3f9e605a660e06.tar.gz tk-7b4b067a9ed86c42cae861bd5e3f9e605a660e06.tar.bz2 |
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.5.x to be loaded in any Tcl 8.5 alpha release.
Diffstat (limited to 'generic/tkConsole.c')
-rw-r--r-- | generic/tkConsole.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkConsole.c b/generic/tkConsole.c index 621d125..bf86f8f 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.5", 0) == NULL) { + if (Tcl_InitStubs(interp, "8.5.0", 0) == NULL) { return; } |