diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-02-03 10:41:11 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-02-03 10:41:11 (GMT) |
commit | 616a7701c6e890c88ef9f1ce8a8244075c63c95d (patch) | |
tree | 8a5cf171e16bd08ed058ad8b10632109ffacb208 /win/tkWinX.c | |
parent | f4d17d021d7c47a9b6306a641a358da4b9cabd00 (diff) | |
download | tk-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.c | 2 |
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; |