diff options
author | nijtmans@users.sourceforge.net <jan.nijtmans> | 2013-02-15 12:44:53 (GMT) |
---|---|---|
committer | nijtmans@users.sourceforge.net <jan.nijtmans> | 2013-02-15 12:44:53 (GMT) |
commit | 2fe64e4707498c3224089ae0705644913eb3544b (patch) | |
tree | 72fa0802eaefe1b1ff9b76dc1ec7aa8fe4ee3fda /generic | |
parent | 9eaf18a2b934ddf60bd35b23c6bbf7cc43311ec3 (diff) | |
download | tk-2fe64e4707498c3224089ae0705644913eb3544b.zip tk-2fe64e4707498c3224089ae0705644913eb3544b.tar.gz tk-2fe64e4707498c3224089ae0705644913eb3544b.tar.bz2 |
Eliminate last use of Tcl_GetStringResult
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tkMain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkMain.c b/generic/tkMain.c index 5bfc684..9210dd1 100644 --- a/generic/tkMain.c +++ b/generic/tkMain.c @@ -191,7 +191,7 @@ Tk_MainEx( if (Tcl_InitStubs(interp, "8.1", 0) == NULL) { abort(); } else { - Tcl_Panic("%s", Tcl_GetStringResult(interp)); + Tcl_Panic("%s", Tcl_GetString(Tcl_GetObjResult(interp))); } } |