Skip to content

Commit

Permalink
Fix menu items
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarBLG committed Oct 1, 2023
1 parent 548e102 commit 77118a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DMI/window/menu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ void menu::setLayout()
{
clearLayout();
subwindow::setLayout();
for (int i=0; i<(softkeys ? (buttons.size() > 10 ? 8 : 9) : (buttons.size() > 14 ? 12 : 13)); i++)
for (int i=0; i<(softkeys ? (buttons.size() > 10 ? 9 : 10) : (buttons.size() > 14 ? 13 : 14)); i++)
{
int id = keypage*(softkeys ? 9 : 13)+i;
if (id >= buttons.size()) break;
Expand Down

0 comments on commit 77118a8

Please sign in to comment.