mirror of https://github.com/acidanthera/audk.git
Use the correct length to copy KeyData.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10966 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
5b313781be
commit
f0384583af
|
@ -3649,7 +3649,7 @@ ConSplitterTextInRegisterKeyNotify (
|
|||
NewNotify->Signature = TEXT_IN_EX_SPLITTER_NOTIFY_SIGNATURE;
|
||||
NewNotify->KeyNotificationFn = KeyNotificationFunction;
|
||||
NewNotify->NotifyHandle = (EFI_HANDLE) NewNotify;
|
||||
CopyMem (&NewNotify->KeyData, KeyData, sizeof (KeyData));
|
||||
CopyMem (&NewNotify->KeyData, KeyData, sizeof (EFI_KEY_DATA));
|
||||
|
||||
//
|
||||
// Return the wrong status of registering key notify of
|
||||
|
|
Loading…
Reference in New Issue