diff options
author | Eric Dong <eric.dong@intel.com> | 2015-04-20 04:26:39 +0000 |
---|---|---|
committer | ydong10 <ydong10@Edk2> | 2015-04-20 04:26:39 +0000 |
commit | 40ad4b1a6bd2d17b6bd3f0a14f65392a7b7249a1 (patch) | |
tree | 8d2f3518dc788dd098d53a3e6e2f7041780354b0 /MdeModulePkg | |
parent | ab2cf8eabb1e737697f910de94473f5eddeaede4 (diff) | |
download | edk2-40ad4b1a6bd2d17b6bd3f0a14f65392a7b7249a1.zip edk2-40ad4b1a6bd2d17b6bd3f0a14f65392a7b7249a1.tar.gz edk2-40ad4b1a6bd2d17b6bd3f0a14f65392a7b7249a1.tar.bz2 |
Update the logic for action opcode, also support user input a empty string for QuestionConfig part.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17189 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c b/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c index 4b00b54..aa1fedc 100644 --- a/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c +++ b/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c @@ -1426,6 +1426,8 @@ ProcessQuestionConfig ( ConfigResp = GetToken (Question->QuestionConfig, Selection->FormSet->HiiHandle);
if (ConfigResp == NULL) {
return EFI_NOT_FOUND;
+ } else if (ConfigResp[0] == L'\0') {
+ return EFI_SUCCESS;
}
//
|