Fixed problem where menu may go beyond bottom of items when using
arrow keys only
This commit is contained in:
parent
d2dee25f8c
commit
228a5751f2
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ restart:
|
||||||
set_line(4, 0x70);
|
set_line(4, 0x70);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ((c == KEY_DOWN) || (ASCII_CHAR(c) == 14)
|
if (((c == KEY_DOWN) || (ASCII_CHAR(c) == 14))
|
||||||
&& (first_entry+entryno+1) < num_entries)
|
&& (first_entry+entryno+1) < num_entries)
|
||||||
{
|
{
|
||||||
if (entryno < 11)
|
if (entryno < 11)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue