summaryrefslogtreecommitdiffstats
path: root/win/tkWinX.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-02-03 10:41:11 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-02-03 10:41:11 (GMT)
commit616a7701c6e890c88ef9f1ce8a8244075c63c95d (patch)
tree8a5cf171e16bd08ed058ad8b10632109ffacb208 /win/tkWinX.c
parentf4d17d021d7c47a9b6306a641a358da4b9cabd00 (diff)
downloadtk-616a7701c6e890c88ef9f1ce8a8244075c63c95d.zip
tk-616a7701c6e890c88ef9f1ce8a8244075c63c95d.tar.gz
tk-616a7701c6e890c88ef9f1ce8a8244075c63c95d.tar.bz2
X11 header-file (specific) update. Move XMaxTransChars definition from Xlib.h to tkInt.h, windows-only
Diffstat (limited to 'win/tkWinX.c')
-rw-r--r--win/tkWinX.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tkWinX.c b/win/tkWinX.c
index 4a2e514..a3cba71 100644
--- a/win/tkWinX.c
+++ b/win/tkWinX.c
@@ -1445,7 +1445,7 @@ GetTranslatedKey(
xkey->nbytes = 0;
- while ((xkey->nbytes < XMaxTransChars)
+ while ((xkey->nbytes < sizeof(xkey->trans_chars))
&& (PeekMessageA(&msg, NULL, type, type, PM_NOREMOVE) != 0)) {
if (msg.message != type) {
break;