]> git.wh0rd.org Git - nano.git/commitdiff
cosmetic fix
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Sun, 23 Jul 2006 19:55:44 +0000 (19:55 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Sun, 23 Jul 2006 19:55:44 +0000 (19:55 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3809 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/help.c

index 176f42893430c0ef555bc081716c7c405fcd0b76..059aad4a48ea3001ec5f9946db6fcd1011345998 100644 (file)
@@ -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: