8302671: libawt has a memmove decay error
Reviewed-by: serb, prr, kcr
This commit is contained in:
parent
574b48c692
commit
e5042dd483
@ -3399,7 +3399,7 @@ static void
|
||||
resetKbdState( BYTE kstate[256]) {
|
||||
BYTE tmpState[256];
|
||||
WCHAR wc[2];
|
||||
memmove(tmpState, kstate, sizeof(kstate));
|
||||
memmove(tmpState, kstate, 256 * sizeof(BYTE));
|
||||
tmpState[VK_SHIFT] = 0;
|
||||
tmpState[VK_CONTROL] = 0;
|
||||
tmpState[VK_MENU] = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user