summaryrefslogtreecommitdiff
path: root/src/normal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/normal.c')
-rw-r--r--src/normal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/normal.c b/src/normal.c
index 762f3197b..80ada682e 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -4545,7 +4545,7 @@ nv_screengo(oap, dir, dist)
int width2; /* test width for wrapped screen line */
oap->motion_type = MCHAR;
- oap->inclusive = FALSE;
+ oap->inclusive = (curwin->w_curswant == MAXCOL);
col_off1 = curwin_col_off();
col_off2 = col_off1 - curwin_col_off2();