summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c
diff options
context:
space:
mode:
authorydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2011-07-05 08:24:22 +0000
committerydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2011-07-05 08:24:22 +0000
commit715cf6dd7e7ab5c42152983e72a3bfe84258ff6d (patch)
tree6b8b323a242d2828d0a5ecfbc52c07496cd7b0b0 /MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c
parentd88ca2c90d49eb08649a905bdeacfb6feba81cf3 (diff)
downloadedk2-platforms-715cf6dd7e7ab5c42152983e72a3bfe84258ff6d.tar.xz
Refine code to avoid potential access violation.
Signed-off-by:ydong10 Reviewed-by:lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11976 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c')
-rw-r--r--MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c b/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c
index 2fdc0bfbcb..863097d005 100644
--- a/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c
+++ b/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c
@@ -1168,7 +1168,7 @@ ProcessCallBackFunction (
// "retrieve" should update to the question's temp buffer.
//
if (Action == EFI_BROWSER_ACTION_CHANGING || Action == EFI_BROWSER_ACTION_RETRIEVE) {
- SetQuestionValue(Selection->FormSet,Selection->Form, Question,TRUE);
+ SetQuestionValue(Selection->FormSet, Selection->Form, Statement, TRUE);
}
} else if (Status == EFI_UNSUPPORTED) {
//