comment fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2861 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2005-07-14 22:19:20 +00:00
parent b802a13c5a
commit 47a153f538
1 changed files with 3 additions and 2 deletions

View File

@ -3507,7 +3507,7 @@ int need_vertical_update(size_t old_pww)
* *
* Note that we don't draw the topmost or bottommost lines before or * Note that we don't draw the topmost or bottommost lines before or
* after scrolling, since we can make no assumptions about which of the * after scrolling, since we can make no assumptions about which of the
* two is the current line. */ * two is the current line at either time. */
void edit_scroll(updown direction, int nlines) void edit_scroll(updown direction, int nlines)
{ {
filestruct *foo; filestruct *foo;
@ -3551,7 +3551,8 @@ void edit_scroll(updown direction, int nlines)
} }
/* Draw new lines on the blank top or bottom lines of the edit /* Draw new lines on the blank top or bottom lines of the edit
* window, depending on the value of direction. */ * window, depending on the value of direction, and skipping the
* topmost and bottommost lines. */
for (; scroll_rows > 0 && foo != NULL; scroll_rows--) { for (; scroll_rows > 0 && foo != NULL; scroll_rows--) {
update_line(foo, 0); update_line(foo, 0);
foo = foo->next; foo = foo->next;