diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-01-22 21:28:22 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-01-22 21:28:22 (GMT) |
commit | 2eacf0fb858494ad5193b7e6fe62e6ddfd8daf4c (patch) | |
tree | 96abd7eec5de1385bbc642a9361ddd421ece344f /generic/tkConsole.c | |
parent | 3286abb818c5973935f5de72f244cb860f965202 (diff) | |
parent | 8faee2bb6cd4206d77f37e8dffaae0adb9df40d0 (diff) | |
download | tk-2eacf0fb858494ad5193b7e6fe62e6ddfd8daf4c.zip tk-2eacf0fb858494ad5193b7e6fe62e6ddfd8daf4c.tar.gz tk-2eacf0fb858494ad5193b7e6fe62e6ddfd8daf4c.tar.bz2 |
Bug [3601782]: Produce a nice error-message when the first Tcl_InitStubs() fails, in stead of simply abort()
Diffstat (limited to 'generic/tkConsole.c')
-rw-r--r-- | generic/tkConsole.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/generic/tkConsole.c b/generic/tkConsole.c index d7a6261..684c9aa 100644 --- a/generic/tkConsole.c +++ b/generic/tkConsole.c @@ -220,11 +220,10 @@ Tk_InitConsoleChannels( Tcl_Channel consoleChannel; /* - * Ensure that we are getting a compatible version of Tcl. This is really - * only an issue when Tk is loaded dynamically. + * Ensure that we are getting a compatible version of Tcl. */ - if (Tcl_InitStubs(interp, "8.6.0", 0) == NULL) { + if (Tcl_InitStubs(interp, "8.6", 0) == NULL) { return; } |