Skip to content

Commit

Permalink
port: forgot the constant
Browse files Browse the repository at this point in the history
  • Loading branch information
fgsfdsfgs committed Jan 5, 2025
1 parent 5084b4b commit 4f7817a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/menuitem.c
Original file line number Diff line number Diff line change
Expand Up @@ -1464,7 +1464,7 @@ bool menuitemKeyboardTick(struct menuitem *item, struct menuinputs *inputs, u32
kb->row += inputs->updown;

if (kb->row < 0) {
kb->row = 5;
kb->row = MENU_KEYBOARD_ROWS - 1;
}

if (kb->row > MENU_KEYBOARD_ROWS - 1) {
Expand Down

0 comments on commit 4f7817a

Please sign in to comment.