Fix bug #12082 with input of Meta-non-ASCII-characters on MS-Windows.
authorEli Zaretskii <eliz@gnu.org>
Mon, 30 Jul 2012 17:07:33 +0000 (20:07 +0300)
committerEli Zaretskii <eliz@gnu.org>
Mon, 30 Jul 2012 17:07:33 +0000 (20:07 +0300)
commit302fc036e8b6305a45aca868e0001dd8fb3ed123
treeecd4e1e272b80fa0751e124393700793e7c02a59
parent0aee69126fd23d3b86fae5e4812b62bbe7c59b27
Fix bug #12082 with input of Meta-non-ASCII-characters on MS-Windows.

 src/w32fns.c (w32_wnd_proc): Pass w32_keyboard_codepage to
 w32_kbd_patch_key as the 2nd arg.
 src/w32term.c <w32_keyboard_codepage>: Renamed from
 keyboard_codepage and now external.  All users changed.
 src/w32term.h: Add declaration of w32_keyboard_codepage.
 src/w32inevt.c (w32_kbd_patch_key): Accept an additional argument --
 the codepage to translate keys to Unicode.  If this argument is
 -1, use the value returned by GetConsoleCP.  All callers changed.
src/ChangeLog
src/w32fns.c
src/w32inevt.c
src/w32term.c
src/w32term.h