Skip to content

Commit

Permalink
updated for version 7.4.301
Browse files Browse the repository at this point in the history
Problem:    Still a scrolling problem when loading a session file.
Solution:   Fix off-by-one mistake. (Nobuhiro Takasaki)
  • Loading branch information
brammool committed May 22, 2014
1 parent 7b129a5 commit b429705
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -734,6 +734,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
301,
/**/
300,
/**/
Expand Down
2 changes: 1 addition & 1 deletion src/window.c
Expand Up @@ -5748,7 +5748,7 @@ win_new_height(wp, height)
lnum++;
wp->w_wrow -= line_size + sline;
}
else if (sline > 0)
else if (sline >= 0)
{
/* First line of file reached, use that as topline. */
lnum = 1;
Expand Down

0 comments on commit b429705

Please sign in to comment.