summaryrefslogtreecommitdiffstats
path: root/generic/tkFont.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-03-07 16:00:17 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-03-07 16:00:17 (GMT)
commit3f2dad8a8dcfbe27c3738a5a2ddb5f7d67656680 (patch)
tree433163222d27e50926d1f3752958f542c1072aee /generic/tkFont.c
parentfa8e8bdc1f17f5e80540ecf8a72127c33133e0cf (diff)
downloadtk-dgp_review.zip
tk-dgp_review.tar.gz
tk-dgp_review.tar.bz2
Somewhat more benefit from TCL_GLOBAL_ONLYdgp_review
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 4485df8..959c20f 100644
--- a/generic/tkFont.c
+++ b/generic/tkFont.c
@@ -3297,7 +3297,7 @@ Tk_TextLayoutToPostscript(
*/
sprintf(uindex, "%04X", ch); /* endianness? */
- glyphname = Tcl_GetVar2(interp, "::tk::psglyphs", uindex, 0);
+ glyphname = Tcl_GetVar2(interp, "tk::psglyphs", uindex, TCL_GLOBAL_ONLY);
if (glyphname) {
ps = Tcl_GetStringFromObj(psObj, &len);
if (ps[len-1] == '(') {