summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-02-15 12:44:53 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-02-15 12:44:53 (GMT)
commit9233c9a6c721e76ec8b715a9a512049ce7cfb4f2 (patch)
tree72fa0802eaefe1b1ff9b76dc1ec7aa8fe4ee3fda
parent317dab0237a6886728286bf0bb662b1896d7b50f (diff)
downloadtk-9233c9a6c721e76ec8b715a9a512049ce7cfb4f2.zip
tk-9233c9a6c721e76ec8b715a9a512049ce7cfb4f2.tar.gz
tk-9233c9a6c721e76ec8b715a9a512049ce7cfb4f2.tar.bz2
Eliminate last use of Tcl_GetStringResult
-rw-r--r--generic/tkMain.c2
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)));
}
}