fix a little bug in windows keyboard input. cant guess whether this affects the keyboard flakeout issue

This commit is contained in:
zeromus 2009-03-19 20:12:46 +00:00
parent 3f60a5c6f8
commit b0c15d53e2
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ void KeyboardUpdateState(void)
else
keys_nr[i] = 0; // deactivate key
memcpy(keys,keys_nr,256);
memcpy(keys,keys_nr,sizeof(keys));
// key-down detection
for(int i = 0 ; i < 256 ; i++)