summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal
diff options
context:
space:
mode:
authorEric Dong <eric.dong@intel.com>2015-04-20 04:26:39 +0000
committerydong10 <ydong10@Edk2>2015-04-20 04:26:39 +0000
commit40ad4b1a6bd2d17b6bd3f0a14f65392a7b7249a1 (patch)
tree8d2f3518dc788dd098d53a3e6e2f7041780354b0 /MdeModulePkg/Universal
parentab2cf8eabb1e737697f910de94473f5eddeaede4 (diff)
downloadedk2-platforms-40ad4b1a6bd2d17b6bd3f0a14f65392a7b7249a1.tar.xz
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/Universal')
-rw-r--r--MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c b/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c
index 4b00b54ce8..aa1fedc7b4 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;
}
//