From: srs5694 Date: Sun, 27 Jan 2013 23:49:21 +0000 (-0500) Subject: Fixed bug that caused "label" option to "hideui" token to be ignored. X-Git-Url: https://code.delx.au/refind/commitdiff_plain/38988408d0a65992e304f72d4ec1d7789251b40f Fixed bug that caused "label" option to "hideui" token to be ignored. --- 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,