Fixed problem where menu may go beyond bottom of items when using

arrow keys only
This commit is contained in:
erich 1996-09-19 00:06:40 +00:00
parent d2dee25f8c
commit 228a5751f2

View file

@ -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)