mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
MdeModulePkg DriverHealthManagerDxe: Display HealthStatus as TextTwo
When PcdBrowserGrayOutTextStatement is TRUE, TextOpCode will be GrayOut. HealthStatus cannot be displayed in help area, use TextTwo to display it. Signed-off-by: Yang Gang <yanggang@byosoft.com.cn>
This commit is contained in:
parent
f8f29a4a6a
commit
58c7517228
@ -694,6 +694,7 @@ DriverHealthManagerUpdateForm (
|
||||
UINTN Index;
|
||||
EFI_STRING_ID Prompt;
|
||||
EFI_STRING_ID Help;
|
||||
EFI_STRING_ID TextTwo;
|
||||
CHAR16 String[512];
|
||||
UINTN StringCount;
|
||||
EFI_STRING TmpString;
|
||||
@ -848,11 +849,12 @@ DriverHealthManagerUpdateForm (
|
||||
mDriverHealthManagerHealthInfo[Index].HealthStatus == EfiDriverHealthStatusHealthy ||
|
||||
mDriverHealthManagerHealthInfo[Index].HealthStatus == EfiDriverHealthStatusFailed
|
||||
);
|
||||
TextTwo = Help;
|
||||
HiiCreateTextOpCode (
|
||||
StartOpCodeHandle,
|
||||
Prompt,
|
||||
Help,
|
||||
0
|
||||
0,
|
||||
TextTwo
|
||||
);
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user