summaryrefslogtreecommitdiffstats
path: root/generic/tkWindow.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-22 21:28:22 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-22 21:28:22 (GMT)
commit2eacf0fb858494ad5193b7e6fe62e6ddfd8daf4c (patch)
tree96abd7eec5de1385bbc642a9361ddd421ece344f /generic/tkWindow.c
parent3286abb818c5973935f5de72f244cb860f965202 (diff)
parent8faee2bb6cd4206d77f37e8dffaae0adb9df40d0 (diff)
downloadtk-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/tkWindow.c')
-rw-r--r--generic/tkWindow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkWindow.c b/generic/tkWindow.c
index 37b54c0..6b908dc 100644
--- a/generic/tkWindow.c
+++ b/generic/tkWindow.c
@@ -3050,7 +3050,7 @@ Initialize(
* 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 TCL_ERROR;
}