summaryrefslogtreecommitdiffstats
path: root/generic/tkFont.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkFont.c')
-rw-r--r--generic/tkFont.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkFont.c b/generic/tkFont.c
index 2e1ad01..2d74356 100644
--- a/generic/tkFont.c
+++ b/generic/tkFont.c
@@ -3325,7 +3325,7 @@ Tk_TextLayoutToPostscript(
}
}
Tcl_AppendToObj(psObj, ")]\n", -1);
- Tcl_AppendResult(interp, Tcl_GetString(psObj), NULL);
+ Tcl_AppendObjToObj(Tcl_GetObjResult(interp), psObj);
Tcl_DecrRefCount(psObj);
}