mirror of https://github.com/acidanthera/audk.git
Correct EFI_IFR_RESET_BUTTON from question to statement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9245 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
eb4a14b9e1
commit
3032f54962
|
@ -698,8 +698,7 @@ ParseOpCodes (
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case EFI_IFR_RESET_BUTTON_OP:
|
case EFI_IFR_RESET_BUTTON_OP:
|
||||||
CurrentStatement = CreateQuestion (OpCodeData, FormSet, CurrentForm);
|
CurrentStatement = CreateStatement (OpCodeData, FormSet, CurrentForm);
|
||||||
|
|
||||||
CopyMem (&CurrentStatement->DefaultId, &((EFI_IFR_RESET_BUTTON *) OpCodeData)->DefaultId, sizeof (EFI_DEFAULT_ID));
|
CopyMem (&CurrentStatement->DefaultId, &((EFI_IFR_RESET_BUTTON *) OpCodeData)->DefaultId, sizeof (EFI_DEFAULT_ID));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -987,8 +986,7 @@ ParseOpCodes (
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
} else if (CompareGuid ((EFI_GUID *)(VOID *)&OptionMap->Guid, &mFrameworkHiiCompatibilityGuid)) {
|
||||||
else if (CompareGuid ((EFI_GUID *)(VOID *)&OptionMap->Guid, &mFrameworkHiiCompatibilityGuid)) {
|
|
||||||
if (OptionMap->ExtendOpCode == EFI_IFR_EXTEND_OP_OPTIONKEY) {
|
if (OptionMap->ExtendOpCode == EFI_IFR_EXTEND_OP_OPTIONKEY) {
|
||||||
OneOfOptinMapEntryListHead = GetOneOfOptionMapEntryListHead (FormSet, OptionMap->QuestionId);
|
OneOfOptinMapEntryListHead = GetOneOfOptionMapEntryListHead (FormSet, OptionMap->QuestionId);
|
||||||
if (OneOfOptinMapEntryListHead == NULL) {
|
if (OneOfOptinMapEntryListHead == NULL) {
|
||||||
|
|
Loading…
Reference in New Issue