summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixKey.c
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2019-11-01 20:57:15 (GMT)
committerfvogel <fvogelnew1@free.fr>2019-11-01 20:57:15 (GMT)
commitff9f71c974f69fc7957ea48b687ed49aa1d2548e (patch)
tree99f60aef70044656a3d18326129839bb63514d53 /unix/tkUnixKey.c
parent7843d440f23b0627f128c63a083f12c77211442f (diff)
parentc8a03246258dcb64fa73c5692e8fcfbcfef60b36 (diff)
downloadtk-ff9f71c974f69fc7957ea48b687ed49aa1d2548e.zip
tk-ff9f71c974f69fc7957ea48b687ed49aa1d2548e.tar.gz
tk-ff9f71c974f69fc7957ea48b687ed49aa1d2548e.tar.bz2
merge core-8-6-branch, in particular, push a different fix for the 'Column ... out of range' error reported in [caacf1f082], this time without any regression...
Diffstat (limited to 'unix/tkUnixKey.c')
-rw-r--r--unix/tkUnixKey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tkUnixKey.c b/unix/tkUnixKey.c
index cbba7bb..fa93edc 100644
--- a/unix/tkUnixKey.c
+++ b/unix/tkUnixKey.c
@@ -208,7 +208,7 @@ TkpGetString(
Tcl_DStringValue(&buf)[len] = '\0';
if (len == 1) {
- len = Tcl_UniCharToUtf((unsigned char) Tcl_DStringValue(&buf)[0],
+ len = TkUniCharToUtf((unsigned char) Tcl_DStringValue(&buf)[0],
Tcl_DStringValue(dsPtr));
Tcl_DStringSetLength(dsPtr, len);
} else {