In PcdBootlogoOnlyEnable case, Clear cursor & screen when key rather than Hotkey or

Enter is pressed to goto front page 

Signed-off-by: czhang46
Reviewed-by: li-elvin

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13480 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
czhang46 2012-07-02 05:17:16 +00:00
parent 6e1450f309
commit f9b843ec49
1 changed files with 1 additions and 1 deletions

View File

@ -1074,7 +1074,7 @@ PlatformBdsEnterFrontPage (
Status = ShowProgress (TimeoutDefault);
StatusHotkey = HotkeyBoot ();
if (!FeaturePcdGet(PcdBootlogoOnlyEnable) || !EFI_ERROR(StatusHotkey)){
if (!FeaturePcdGet(PcdBootlogoOnlyEnable) || !EFI_ERROR(Status) || !EFI_ERROR(StatusHotkey)){
//
// Ensure screen is clear when switch Console from Graphics mode to Text mode
// Skip it in normal boot