summaryrefslogtreecommitdiffstats
path: root/win/tkWinKey.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-11-27 16:16:12 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-11-27 16:16:12 (GMT)
commit2b3b6f6334373b0e5eec61731bf83e629235d3ed (patch)
tree0b0fa52462e7ee64c7abec743613858d291882e1 /win/tkWinKey.c
parentc178a6ce365f3826b96df6ad722a875b958cdcc9 (diff)
downloadtk-2b3b6f6334373b0e5eec61731bf83e629235d3ed.zip
tk-2b3b6f6334373b0e5eec61731bf83e629235d3ed.tar.gz
tk-2b3b6f6334373b0e5eec61731bf83e629235d3ed.tar.bz2
Starting work to compile Tk with TCL_UTF_MAX=4 (WIP)
Diffstat (limited to 'win/tkWinKey.c')
-rw-r--r--win/tkWinKey.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tkWinKey.c b/win/tkWinKey.c
index 5be9e0e..f2230c9 100644
--- a/win/tkWinKey.c
+++ b/win/tkWinKey.c
@@ -113,7 +113,7 @@ TkpGetString(
* Special case for WM_UNICHAR and win2000 multilingual IME input
*/
- len = TkUniCharToUtf(keyEv->keycode, buf);
+ len = Tcl_UniCharToUtf(keyEv->keycode, buf);
Tcl_DStringAppend(dsPtr, buf, len);
} else {
/*
@@ -125,7 +125,7 @@ TkpGetString(
if (((keysym != NoSymbol) && (keysym > 0) && (keysym < 256))
|| (keysym == XK_Return) || (keysym == XK_Tab)) {
- len = TkUniCharToUtf(keysym & 255, buf);
+ len = Tcl_UniCharToUtf(keysym & 255, buf);
Tcl_DStringAppend(dsPtr, buf, len);
}
}