From 6307a8b6dc054339db3b3d9733f2ce1a248b483c Mon Sep 17 00:00:00 2001 From: Eric Dong Date: Mon, 30 Dec 2013 06:07:29 +0000 Subject: Rollback the change 15021. Signed-off-by: Eric Dong git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15030 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'MdeModulePkg/Library') diff --git a/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.c b/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.c index 5b5f37d175..92f3a43a77 100644 --- a/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.c +++ b/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.c @@ -543,7 +543,7 @@ CreateDialog ( /** Confirm how to handle the changed data. - @return Action BROWSER_SAVE_CHANGES, BROWSER_DISCARD_CHANGES or other values. + @return Action BROWSER_ACTION_SUBMIT, BROWSER_ACTION_DISCARD or other values. **/ UINTN EFIAPI @@ -573,11 +573,11 @@ ConfirmDataChange ( ); if (Key.ScanCode == SCAN_ESC) { - return BROWSER_NO_CHANGES; + return BROWSER_ACTION_NONE; } else if ((Key.UnicodeChar | UPPER_LOWER_CASE_OFFSET) == (YesResponse | UPPER_LOWER_CASE_OFFSET)) { - return BROWSER_SAVE_CHANGES; + return BROWSER_ACTION_SUBMIT; } else { - return BROWSER_DISCARD_CHANGES; + return BROWSER_ACTION_DISCARD; } } -- cgit v1.2.3