From 228a5751f28846f2c90b66dd8f4e23f0881416cc Mon Sep 17 00:00:00 2001 From: erich Date: Thu, 19 Sep 1996 00:06:40 +0000 Subject: [PATCH] Fixed problem where menu may go beyond bottom of items when using arrow keys only --- shared_src/stage2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared_src/stage2.c b/shared_src/stage2.c index 7995c2cbe..a9d5d35f2 100644 --- a/shared_src/stage2.c +++ b/shared_src/stage2.c @@ -225,7 +225,7 @@ restart: 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) { if (entryno < 11)