summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixRFont.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-09-29 12:38:54 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-09-29 12:38:54 (GMT)
commit5020e5e41bb04e9bde15b10902c3dd8edcf0b1eb (patch)
tree27b23d9828d8e560c051b9ff8b3130101c014b23 /unix/tkUnixRFont.c
parent5ae24215a70e8cd5bdbd14ad619bd4230bd22f9a (diff)
parent4c158f250ca869188d30dcf7628676f0b0de236f (diff)
downloadtk-5020e5e41bb04e9bde15b10902c3dd8edcf0b1eb.zip
tk-5020e5e41bb04e9bde15b10902c3dd8edcf0b1eb.tar.gz
tk-5020e5e41bb04e9bde15b10902c3dd8edcf0b1eb.tar.bz2
Fix [6c0d7aec67]: unicode text input Windows 8
Diffstat (limited to 'unix/tkUnixRFont.c')
-rw-r--r--unix/tkUnixRFont.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tkUnixRFont.c b/unix/tkUnixRFont.c
index 01bbb30..cf4127d 100644
--- a/unix/tkUnixRFont.c
+++ b/unix/tkUnixRFont.c
@@ -668,9 +668,9 @@ Tk_MeasureChars(
curByte = 0;
sawNonSpace = 0;
while (numBytes > 0) {
- Tcl_UniChar unichar;
+ int unichar;
- clen = Tcl_UtfToUniChar(source, &unichar);
+ clen = TkUtfToUniChar(source, &unichar);
c = (FcChar32) unichar;
if (clen <= 0) {