From 40ad4b1a6bd2d17b6bd3f0a14f65392a7b7249a1 Mon Sep 17 00:00:00 2001 From: Eric Dong Date: Mon, 20 Apr 2015 04:26:39 +0000 Subject: [PATCH] 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 Reviewed-by: Liming Gao git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17189 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c | 2 ++ 1 file changed, 2 insertions(+) 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; } // -- 2.39.2