summaryrefslogtreecommitdiffstats
path: root/generic/tkCanvPs.c
diff options
context:
space:
mode:
authorjan.nijtmans <jan.nijtmans@noemail.net>2013-03-07 14:49:40 (GMT)
committerjan.nijtmans <jan.nijtmans@noemail.net>2013-03-07 14:49:40 (GMT)
commite9cfcf8246b9fc5f421c106f9d25d0bd6ccc55bc (patch)
tree57401f7210c6e05cfdc7c3b9fa8101309ed119e4 /generic/tkCanvPs.c
parent53669af33863a2a138aae59c6a11638a8b963043 (diff)
downloadtk-e9cfcf8246b9fc5f421c106f9d25d0bd6ccc55bc.zip
tk-e9cfcf8246b9fc5f421c106f9d25d0bd6ccc55bc.tar.gz
tk-e9cfcf8246b9fc5f421c106f9d25d0bd6ccc55bc.tar.bz2
Eliminate all usage of (deprecated) functions Tcl_VarEval and Tcl_Eval.
FossilOrigin-Name: 0deef053f656e065cb0bb8410a0584bc8d5c8e54
Diffstat (limited to 'generic/tkCanvPs.c')
-rw-r--r--generic/tkCanvPs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkCanvPs.c b/generic/tkCanvPs.c
index 0c7b0dd..70fc457 100644
--- a/generic/tkCanvPs.c
+++ b/generic/tkCanvPs.c
@@ -193,7 +193,7 @@ TkCanvPostscriptCmd(
* such.
*/
- result = Tcl_Eval(interp, "::tk::ensure_psenc_is_loaded");
+ result = Tcl_EvalEx(interp, "::tk::ensure_psenc_is_loaded", -1, 0);
if (result != TCL_OK) {
return result;
}