summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-06-20 00:45:58 +0200
committerBram Moolenaar <Bram@vim.org>2011-06-20 00:45:58 +0200
commit914968e66d54d9bc3e49aa376bfe136738e883e4 (patch)
tree5864d8470ba14190b2edb78074506b0416b0c204
parent54b08a5e78516d3516109f935b34c7d6663370a0 (diff)
downloadvim-git-914968e66d54d9bc3e49aa376bfe136738e883e4.tar.gz
updated for version 7.3.228v7.3.228
Problem: "2gj" does not always move to the correct position. Solution: Get length of line after moving to a next line. (James Vega)
-rw-r--r--src/normal.c1
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/normal.c b/src/normal.c
index 344bd7db7..bd6f1f239 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -4533,6 +4533,7 @@ nv_screengo(oap, dir, dist)
}
curwin->w_cursor.lnum++;
curwin->w_curswant %= width2;
+ linelen = linetabsize(ml_get_curline());
}
}
}
diff --git a/src/version.c b/src/version.c
index dd16231be..81ab3f7a6 100644
--- a/src/version.c
+++ b/src/version.c
@@ -710,6 +710,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 228,
+/**/
227,
/**/
226,