Commit 30f691f5 authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

winex11.drv: Reset the keyc2vkey table to empty before rebuilding it.

parent b921118f
...@@ -1604,6 +1604,7 @@ void X11DRV_InitKeyboard(void) ...@@ -1604,6 +1604,7 @@ void X11DRV_InitKeyboard(void)
e2.state = 0; e2.state = 0;
OEMvkey = VK_OEM_8; /* next is available. */ OEMvkey = VK_OEM_8; /* next is available. */
memset(keyc2vkey, 0, sizeof(keyc2vkey));
for (keyc = min_keycode; keyc <= max_keycode; keyc++) for (keyc = min_keycode; keyc <= max_keycode; keyc++)
{ {
char buf[30]; char buf[30];
......
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