diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-11-26 20:48:07 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-11-26 20:48:07 (GMT) |
commit | fdf27f95df08c89a26532ee79d5d771f10b05837 (patch) | |
tree | 878c658370eaa732a0b9aae67ee85b6c8afb6e21 /win/tkWinX.c | |
parent | fcbf569858ecb8e78138c709e4a39babca23e584 (diff) | |
parent | eca06f257b5b2c6a01a466e4e4501eb3f6f549a6 (diff) | |
download | tk-fdf27f95df08c89a26532ee79d5d771f10b05837.zip tk-fdf27f95df08c89a26532ee79d5d771f10b05837.tar.gz tk-fdf27f95df08c89a26532ee79d5d771f10b05837.tar.bz2 |
Merge 8.6
Diffstat (limited to 'win/tkWinX.c')
-rw-r--r-- | win/tkWinX.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/win/tkWinX.c b/win/tkWinX.c index 2bda128..7b2d004 100644 --- a/win/tkWinX.c +++ b/win/tkWinX.c @@ -1437,8 +1437,7 @@ GetTranslatedKey( if ((msg.message == WM_CHAR) && (msg.lParam & 0x20000000)) { xkey->state = 0; } - xkey->trans_chars[xkey->nbytes] = (char) msg.wParam; - xkey->nbytes++; + xkey->trans_chars[xkey->nbytes++] = (char) msg.wParam; if (((unsigned short) msg.wParam) > ((unsigned short) 0xff)) { /* |