summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--unix/tkUnixFont.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/unix/tkUnixFont.c b/unix/tkUnixFont.c
index d00ff82..dc80807 100644
--- a/unix/tkUnixFont.c
+++ b/unix/tkUnixFont.c
@@ -316,6 +316,7 @@ TkpFontPkgInit(
Tcl_Encoding ucs2;
if (tsdPtr->controlFamily.encoding == NULL) {
+ Tcl_EncodingType type;
type.encodingName = "X11ControlChars";
type.toUtfProc = ControlUtfProc;
type.fromUtfProc = ControlUtfProc;