From 38988408d0a65992e304f72d4ec1d7789251b40f Mon Sep 17 00:00:00 2001 From: srs5694 Date: Sun, 27 Jan 2013 18:49:21 -0500 Subject: [PATCH] Fixed bug that caused "label" option to "hideui" token to be ignored. --- refind/menu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/refind/menu.c b/refind/menu.c index 2471176..668b646 100644 --- a/refind/menu.c +++ b/refind/menu.c @@ -904,11 +904,12 @@ static VOID PaintAll(IN REFIT_MENU_SCREEN *Screen, IN SCROLL_STATE *State, UINTN DrawMainMenuEntry(Screen->Entries[i], (i == State->CurrentSelection) ? TRUE : FALSE, itemPosX[i], row1PosY); } } - if (!(GlobalConfig.HideUIFlags & HIDEUI_FLAG_LABEL)) + if (!(GlobalConfig.HideUIFlags & HIDEUI_FLAG_LABEL)) { DrawTextWithTransparency(L"", 0, textPosY); DrawTextWithTransparency(Screen->Entries[State->CurrentSelection]->Title, (UGAWidth - egComputeTextWidth(Screen->Entries[State->CurrentSelection]->Title)) >> 1, textPosY); + } if (!(GlobalConfig.HideUIFlags & HIDEUI_FLAG_HINTS)) { DrawTextWithTransparency(Screen->Hint1, (UGAWidth - egComputeTextWidth(Screen->Hint1)) / 2, -- 2.39.2