summaryrefslogtreecommitdiffstats
path: root/generic/tkConsole.c
diff options
context:
space:
mode:
authordgp@users.sourceforge.net <dgp>2007-09-10 13:35:42 (GMT)
committerdgp@users.sourceforge.net <dgp>2007-09-10 13:35:42 (GMT)
commit31872e7299513c1bcea43c2f1fb3f6fd674ca185 (patch)
tree476e2a4c14720337454b381b82284d9109cb43ae /generic/tkConsole.c
parent96fa3f41d12d29e08a68089ca1ba1175b90c999a (diff)
downloadtk-31872e7299513c1bcea43c2f1fb3f6fd674ca185.zip
tk-31872e7299513c1bcea43c2f1fb3f6fd674ca185.tar.gz
tk-31872e7299513c1bcea43c2f1fb3f6fd674ca185.tar.bz2
* generic/tkConsole.c: Revise all Tcl_InitStubs() calls to restore
* generic/tkMain.c: the traditional practice that a Tk shared * generic/tkWindow.c: library may [load] into a Tcl 8.5 interp at any patchlevel. This practice also matches the compile time checks of TCL_MAJOR_VERSION and TCL_MINOR_VERSION in tk.h. [Bug 1723622]
Diffstat (limited to 'generic/tkConsole.c')
-rw-r--r--generic/tkConsole.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkConsole.c b/generic/tkConsole.c
index 30064c7..1996825 100644
--- a/generic/tkConsole.c
+++ b/generic/tkConsole.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkConsole.c,v 1.31 2006/09/22 19:02:07 andreas_kupries Exp $
+ * RCS: @(#) $Id: tkConsole.c,v 1.32 2007/09/10 13:35:42 dgp Exp $
*/
#include "tk.h"
@@ -233,7 +233,7 @@ Tk_InitConsoleChannels(
* only an issue when Tk is loaded dynamically.
*/
- if (Tcl_InitStubs(interp, TCL_PATCH_LEVEL, 1) == NULL) {
+ if (Tcl_InitStubs(interp, TCL_VERSION, 1) == NULL) {
return;
}