cosmetic fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2918 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2005-07-24 17:06:56 +00:00
parent ce78cdb722
commit 2a73131f0e
1 changed files with 1 additions and 4 deletions

View File

@ -3546,10 +3546,7 @@ void edit_scroll(updown direction, int nlines)
* If the scrolled region contains more than one line, and the lines * If the scrolled region contains more than one line, and the lines
* before and after the scrolled region are visible in the edit * before and after the scrolled region are visible in the edit
* window, we need to draw them too. */ * window, we need to draw them too. */
if (nlines == 1) nlines += (nlines == 1) ? 1 : 2;
nlines++;
else
nlines += 2;
if (nlines > editwinrows) if (nlines > editwinrows)
nlines = editwinrows; nlines = editwinrows;