Commit 1dc7c122 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

cosmetic fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3809 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
...@@ -156,7 +156,7 @@ void do_help(void (*refresh_func)(void)) ...@@ -156,7 +156,7 @@ void do_help(void (*refresh_func)(void))
line--; line--;
break; break;
case NANO_NEXTLINE_KEY: case NANO_NEXTLINE_KEY:
if (line + editwinrows <= last_line) if (line + (editwinrows - 1) < last_line)
line++; line++;
break; break;
case NANO_FIRSTLINE_ALTKEY: case NANO_FIRSTLINE_ALTKEY:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment