summaryrefslogtreecommitdiffstats
path: root/generic/tkFont.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2008-10-05 21:23:25 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2008-10-05 21:23:25 (GMT)
commite8d773fd302e54d41d6c6e3a15f0b3d0255ba95b (patch)
tree5eff71a24b339032fbd6e5e2ceb4a84ae3b22f83 /generic/tkFont.c
parent501d0b1523e4a2b370c58cd262bbed99725a5ab1 (diff)
downloadtk-e8d773fd302e54d41d6c6e3a15f0b3d0255ba95b.zip
tk-e8d773fd302e54d41d6c6e3a15f0b3d0255ba95b.tar.gz
tk-e8d773fd302e54d41d6c6e3a15f0b3d0255ba95b.tar.bz2
minor corrections
Diffstat (limited to 'generic/tkFont.c')
-rw-r--r--generic/tkFont.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/generic/tkFont.c b/generic/tkFont.c
index 76e7667..e0b3b09 100644
--- a/generic/tkFont.c
+++ b/generic/tkFont.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkFont.c,v 1.45 2008/10/05 18:22:21 dkf Exp $
+ * RCS: @(#) $Id: tkFont.c,v 1.46 2008/10/05 21:23:25 dkf Exp $
*/
#include "tkInt.h"
@@ -716,7 +716,6 @@ Tk_FontObjCmd(
char *string;
Tk_Font tkfont;
int length = 0, skip = 0;
- Tcl_Obj *resultPtr;
if (objc > 4) {
skip = TkGetDisplayOf(interp, objc - 3, objv + 3, &tkwin);
@@ -808,7 +807,7 @@ Tk_FontObjCmd(
}
namedHashPtr = Tcl_NextHashEntry(&search);
}
- Tcl_SetObjResult(interp, resultObj);
+ Tcl_SetObjResult(interp, resultPtr);
break;
}
}