]> git.eshelyaron.com Git - emacs.git/commitdiff
(w32_wnd_proc) <WM_KEYDOWN>: Cast char to unsigned before passing as wParam.
authorJason Rumney <jasonr@gnu.org>
Mon, 17 Dec 2007 01:50:42 +0000 (01:50 +0000)
committerJason Rumney <jasonr@gnu.org>
Mon, 17 Dec 2007 01:50:42 +0000 (01:50 +0000)
src/ChangeLog
src/w32fns.c

index 2bf4e0ed15f7dba6f2b247cc8824adba03557f17..a5b34e38966ddd1844a6de23f50f40291434b458 100644 (file)
@@ -1,3 +1,8 @@
+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
index 9492989e735b650e5a6d0813ec1c4a659bd68a19..44087329c780941a0b1c8986dac9a2ace591d5fd 100644 (file)
@@ -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);
                        }