Mercurial > emacs
changeset 79578:f54781f97950
(w32_wnd_proc) <WM_KEYDOWN>: Cast char to unsigned before passing as wParam.
author | Jason Rumney <jasonr@gnu.org> |
---|---|
date | Mon, 17 Dec 2007 01:49:51 +0000 |
parents | 19f495ba0a8d |
children | 05571d72ab46 |
files | src/w32fns.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/w32fns.c Sun Dec 16 05:04:28 2007 +0000 +++ b/src/w32fns.c Mon Dec 17 01:49:51 2007 +0000 @@ -3129,7 +3129,8 @@ { /* Forward asciified character sequence. */ post_character_message - (hwnd, WM_CHAR, key.uChar.AsciiChar, lParam, + (hwnd, WM_CHAR, + (unsigned char) key.uChar.AsciiChar, lParam, w32_get_key_modifiers (wParam, lParam)); w32_kbd_patch_key (&key); }