Skip to content

Commit

Permalink
Fix switching under leftright (FreeBSD bin/12801)
Browse files Browse the repository at this point in the history
  • Loading branch information
lichray committed Nov 1, 2013
1 parent 1cdc5de commit 3c7a9a7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions vi/vs_refresh.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include "config.h"

#ifndef lint
static const char sccsid[] = "$Id: vs_refresh.c,v 10.52 2011/12/16 11:06:25 zy Exp $";
static const char sccsid[] = "$Id: vs_refresh.c,v 10.53 2013/11/01 11:57:36 zy Exp $";
#endif /* not lint */

#include <sys/types.h>
Expand Down Expand Up @@ -331,7 +331,8 @@ small_fill: (void)gp->scr_move(sp, LASTLINE(sp), 0);
if (vs_sm_1down(sp))
return (1);
goto adjust;
}
} else
goto top; /* XXX No such line. */

/*
* If less than a half screen from the bottom of the file,
Expand Down

0 comments on commit 3c7a9a7

Please sign in to comment.