summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-07-14 13:32:15 +0200
committerBram Moolenaar <Bram@vim.org>2013-07-14 13:32:15 +0200
commit91b2bdb083dc21c89af7101ce73cf1b547a7f91f (patch)
treeea85fb30d158d9a1220fa84bc70311836cecb2fe
parentff52518969cced60a3b2d77e65b042e2e1dc2adc (diff)
downloadvim-git-91b2bdb083dc21c89af7101ce73cf1b547a7f91f.tar.gz
updated for version 7.4a.022v7.4a.022
Problem: Using "d2g$" does not delete the last character. (ZyX) Solution: Set the "inclusive" flag properly.
-rw-r--r--src/normal.c2
-rw-r--r--src/version.c2
2 files changed, 3 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();
diff --git a/src/version.c b/src/version.c
index 59476e523..f02bf3552 100644
--- a/src/version.c
+++ b/src/version.c
@@ -728,6 +728,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 22,
+/**/
21,
/**/
20,