mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-12-25 16:37:42 +01:00
fix compilation
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
This commit is contained in:
parent
73b9eabd22
commit
8b8b8452b6
@ -2560,10 +2560,16 @@ UINTN REFIT_MENU_SCREEN::RunGenericMenu(IN MENU_STYLE_FUNC StyleFunc, IN OUT INT
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (HaveTimeout) {
|
if (HaveTimeout) {
|
||||||
TimeoutMessage = PoolPrint(L"%s in %d seconds", TimeoutText.data(), TimeoutCountdown);
|
#if USE_XTHEME
|
||||||
// XStringW TOMessage = TimeoutText + L" in " + WPrintf("%d", TimeoutCountdown) + L" seconds";
|
//TimeoutMessage = PoolPrint(L"%s in %d seconds", TimeoutText.data(), TimeoutCountdown);
|
||||||
|
XStringW TOMessage = TimeoutText + L" in " + WPrintf("%d", TimeoutCountdown) + L" seconds";
|
||||||
|
((*this).*(StyleFunc))(MENU_FUNCTION_PAINT_TIMEOUT, TOMessage.data());
|
||||||
|
// FreePool(TimeoutMessage);
|
||||||
|
#else
|
||||||
|
TimeoutMessage = PoolPrint(L"%s in %d seconds", TimeoutText, TimeoutCountdown);
|
||||||
((*this).*(StyleFunc))(MENU_FUNCTION_PAINT_TIMEOUT, TimeoutMessage);
|
((*this).*(StyleFunc))(MENU_FUNCTION_PAINT_TIMEOUT, TimeoutMessage);
|
||||||
FreePool(TimeoutMessage);
|
FreePool(TimeoutMessage);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
if (gEvent) { //for now used at CD eject.
|
if (gEvent) { //for now used at CD eject.
|
||||||
|
Loading…
Reference in New Issue
Block a user