Commit a313b291 authored by Jason Rumney's avatar Jason Rumney
Browse files

(w32_wnd_proc) <WM_KEYDOWN>: Cast char to unsigned before passing as wParam.

parent c317b563
2007-12-17 Jason Rumney <jasonr@gnu.org>
* w32fns.c (w32_wnd_proc) <WM_KEYDOWN>: Cast char to unsigned
before passing as wParam.
2007-12-14 Jason Rumney <jasonr@gnu.org>
 
* w32term.c (w32_read_socket): Use MULTIBYTE_CHAR_KEYSTROKE_EVENT
......
......@@ -3129,7 +3129,8 @@ w32_wnd_proc (hwnd, msg, wParam, lParam)
{
/* 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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment