summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2007-09-10 05:39:46 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2007-09-10 05:39:46 +0000
commitd4ff9b44465b020248aca6120c9a228766130921 (patch)
tree5296316b53c5fb938486673e7356e990e8a82148 /IntelFrameworkModulePkg
parent7f0f1b8f4546e8feb17144784e8be3547208ee92 (diff)
downloadedk2-platforms-d4ff9b44465b020248aca6120c9a228766130921.tar.xz
Tracker merger. "There is no "NV" display when change the certain option in NT32"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3788 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg')
-rw-r--r--IntelFrameworkModulePkg/Universal/SetupBrowserDxe/ProcessOptions.c37
-rw-r--r--IntelFrameworkModulePkg/Universal/SetupBrowserDxe/Ui.c2
2 files changed, 20 insertions, 19 deletions
diff --git a/IntelFrameworkModulePkg/Universal/SetupBrowserDxe/ProcessOptions.c b/IntelFrameworkModulePkg/Universal/SetupBrowserDxe/ProcessOptions.c
index a2dc808346..c3d52897d1 100644
--- a/IntelFrameworkModulePkg/Universal/SetupBrowserDxe/ProcessOptions.c
+++ b/IntelFrameworkModulePkg/Universal/SetupBrowserDxe/ProcessOptions.c
@@ -341,31 +341,32 @@ ProcessOptions (
//
if (!Tag->Suppress && !Tag->GrayOut) {
CopyMem (NvRamMap, &Number, MenuOption->ThisTag->StorageWidth);
+ break;
}
- break;
- }
+ } else {
- StringPtr = GetToken (PopUp, MenuOption->Handle);
+ StringPtr = GetToken (PopUp, MenuOption->Handle);
- CreatePopUp (GetStringWidth (StringPtr) / 2, 3, &NullCharacter, StringPtr, &NullCharacter);
+ CreatePopUp (GetStringWidth (StringPtr) / 2, 3, &NullCharacter, StringPtr, &NullCharacter);
- do {
- Status = WaitForKeyStroke (&Key);
+ do {
+ Status = WaitForKeyStroke (&Key);
- switch (Key.UnicodeChar) {
+ switch (Key.UnicodeChar) {
- case CHAR_CARRIAGE_RETURN:
- //
- // Since the value can be one byte long or two bytes long, do a CopyMem based on StorageWidth
- //
- CopyMem (NvRamMap, &Number, MenuOption->ThisTag->StorageWidth);
- FreePool (StringPtr);
- break;
+ case CHAR_CARRIAGE_RETURN:
+ //
+ // Since the value can be one byte long or two bytes long, do a CopyMem based on StorageWidth
+ //
+ CopyMem (NvRamMap, &Number, MenuOption->ThisTag->StorageWidth);
+ FreePool (StringPtr);
+ break;
- default:
- break;
- }
- } while (Key.UnicodeChar != CHAR_CARRIAGE_RETURN);
+ default:
+ break;
+ }
+ } while (Key.UnicodeChar != CHAR_CARRIAGE_RETURN);
+ }
}
}
diff --git a/IntelFrameworkModulePkg/Universal/SetupBrowserDxe/Ui.c b/IntelFrameworkModulePkg/Universal/SetupBrowserDxe/Ui.c
index dd56cfbcf7..c222a72e03 100644
--- a/IntelFrameworkModulePkg/Universal/SetupBrowserDxe/Ui.c
+++ b/IntelFrameworkModulePkg/Universal/SetupBrowserDxe/Ui.c
@@ -3020,7 +3020,7 @@ Returns:
//
// After the repaint operation, we should refresh the highlight.
//
- NewLine = TRUE;
+ NewLine = TRUE;
break;
case CfUiNoOperation: