summaryrefslogtreecommitdiffstats
path: root/generic/tkCanvBmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkCanvBmap.c')
-rw-r--r--generic/tkCanvBmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkCanvBmap.c b/generic/tkCanvBmap.c
index 65c4b59..d7d54f4 100644
--- a/generic/tkCanvBmap.c
+++ b/generic/tkCanvBmap.c
@@ -991,7 +991,7 @@ BitmapToPostscript(
*/
(void) Tcl_RestoreInterpState(interp, interpState);
- Tcl_AppendResult(interp, Tcl_GetString(psObj), NULL);
+ Tcl_AppendObjToObj(Tcl_GetObjResult(interp), psObj);
Tcl_DecrRefCount(psObj);
return TCL_OK;