Commit 6fed97f3 authored by Lionel Ulmer's avatar Lionel Ulmer Committed by Alexandre Julliard

Changed the initialisation of the KeyState array.

parent 71c0b94d
......@@ -63,7 +63,7 @@ VOID WINAPI KEYBOARD_Enable( LPKEYBD_EVENT_PROC lpKeybEventProc,
pKeyStateTable = lpKeyState;
/* all states to false */
memset( lpKeyState, 0, sizeof(lpKeyState) );
memset( lpKeyState, 0, 256 );
if (!initDone) KEYBOARD_Driver->pInit();
initDone = TRUE;
......
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