diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2012-07-30 07:46:19 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2012-07-30 07:46:19 (GMT) |
commit | e64497a5bc67ff3b3f39e57700c650c6e7962eea (patch) | |
tree | 7e57204b12abc171ad343d007edecaf1b17cdf09 /generic/tkFont.c | |
parent | 488df4eea56d73f306245cf3cebedcc0e25038b6 (diff) | |
download | tk-e64497a5bc67ff3b3f39e57700c650c6e7962eea.zip tk-e64497a5bc67ff3b3f39e57700c650c6e7962eea.tar.gz tk-e64497a5bc67ff3b3f39e57700c650c6e7962eea.tar.bz2 |
Working towards making the error codes more consistent.
Diffstat (limited to 'generic/tkFont.c')
-rw-r--r-- | generic/tkFont.c | 2 |
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); } |