summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7f0f1b8)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3788
6f19259b-4bc3-4df7-8a09-
765794883524
//\r
if (!Tag->Suppress && !Tag->GrayOut) {\r
CopyMem (NvRamMap, &Number, MenuOption->ThisTag->StorageWidth);\r
//\r
if (!Tag->Suppress && !Tag->GrayOut) {\r
CopyMem (NvRamMap, &Number, MenuOption->ThisTag->StorageWidth);\r
- StringPtr = GetToken (PopUp, MenuOption->Handle);\r
+ StringPtr = GetToken (PopUp, MenuOption->Handle);\r
- CreatePopUp (GetStringWidth (StringPtr) / 2, 3, &NullCharacter, StringPtr, &NullCharacter);\r
+ CreatePopUp (GetStringWidth (StringPtr) / 2, 3, &NullCharacter, StringPtr, &NullCharacter);\r
- do {\r
- Status = WaitForKeyStroke (&Key);\r
+ do {\r
+ Status = WaitForKeyStroke (&Key);\r
- switch (Key.UnicodeChar) {\r
+ switch (Key.UnicodeChar) {\r
- case CHAR_CARRIAGE_RETURN:\r
- //\r
- // Since the value can be one byte long or two bytes long, do a CopyMem based on StorageWidth\r
- //\r
- CopyMem (NvRamMap, &Number, MenuOption->ThisTag->StorageWidth);\r
- FreePool (StringPtr);\r
- break;\r
+ case CHAR_CARRIAGE_RETURN:\r
+ //\r
+ // Since the value can be one byte long or two bytes long, do a CopyMem based on StorageWidth\r
+ //\r
+ CopyMem (NvRamMap, &Number, MenuOption->ThisTag->StorageWidth);\r
+ FreePool (StringPtr);\r
+ break;\r
- default:\r
- break;\r
- }\r
- } while (Key.UnicodeChar != CHAR_CARRIAGE_RETURN);\r
+ default:\r
+ break;\r
+ }\r
+ } while (Key.UnicodeChar != CHAR_CARRIAGE_RETURN);\r
+ }\r
//\r
// After the repaint operation, we should refresh the highlight.\r
//\r
//\r
// After the repaint operation, we should refresh the highlight.\r
//\r
break;\r
\r
case CfUiNoOperation:\r
break;\r
\r
case CfUiNoOperation:\r