From 1dc7c1225a489561fd34fb880665db0cd3b0c3dd Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Sun, 23 Jul 2006 19:55:44 +0000 Subject: [PATCH] cosmetic fix git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3809 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- src/help.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/help.c b/src/help.c index 176f4289..059aad4a 100644 --- a/src/help.c +++ b/src/help.c @@ -156,7 +156,7 @@ void do_help(void (*refresh_func)(void)) line--; break; case NANO_NEXTLINE_KEY: - if (line + editwinrows <= last_line) + if (line + (editwinrows - 1) < last_line) line++; break; case NANO_FIRSTLINE_ALTKEY: -- 2.39.5