Permalink
Browse files

Fix typo in menu manager drawing no spacer (#581)

The "Back" slot was hidden even if the page had a "Next" button. Draw
the spacer correctly!
  • Loading branch information...
1 parent 7239f1d commit 9e27a867dda6da5e1cd4cf47672af47e3589138c @peace-maker peace-maker committed with psychonic Feb 4, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/MenuManager.cpp
@@ -570,7 +570,7 @@ IMenuPanel *MenuManager::RenderMenu(int client, menu_states_t &md, ItemOrder ord
/* If there are no control options,
* Instead just pad with invisible slots.
*/
- if (!displayPrev && !displayPrev)
+ if (!displayNext && !displayPrev)
{
padItem.style = ITEMDRAW_NOTEXT;
}

0 comments on commit 9e27a86

Please sign in to comment.