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
This commit is contained in:
vanjeff 2007-09-10 05:39:46 +00:00
parent 7f0f1b8f45
commit d4ff9b4446
2 changed files with 25 additions and 24 deletions

View File

@ -341,31 +341,32 @@ ProcessOptions (
//
if (!Tag->Suppress && !Tag->GrayOut) {
CopyMem (NvRamMap, &Number, MenuOption->ThisTag->StorageWidth);
break;
}
break;
} else {
StringPtr = GetToken (PopUp, MenuOption->Handle);
CreatePopUp (GetStringWidth (StringPtr) / 2, 3, &NullCharacter, StringPtr, &NullCharacter);
do {
Status = WaitForKeyStroke (&Key);
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;
default:
break;
}
} while (Key.UnicodeChar != CHAR_CARRIAGE_RETURN);
}
StringPtr = GetToken (PopUp, MenuOption->Handle);
CreatePopUp (GetStringWidth (StringPtr) / 2, 3, &NullCharacter, StringPtr, &NullCharacter);
do {
Status = WaitForKeyStroke (&Key);
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;
default:
break;
}
} while (Key.UnicodeChar != CHAR_CARRIAGE_RETURN);
}
}

View File

@ -3020,7 +3020,7 @@ Returns:
//
// After the repaint operation, we should refresh the highlight.
//
NewLine = TRUE;
NewLine = TRUE;
break;
case CfUiNoOperation: