From: David Lawrence Ramsey Date: Sun, 23 Jul 2006 19:55:44 +0000 (+0000) Subject: cosmetic fix X-Git-Tag: v1.9.99pre1~52 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=1dc7c1225a489561fd34fb880665db0cd3b0c3dd;p=nano.git cosmetic fix git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3809 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- 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: