From 914968e66d54d9bc3e49aa376bfe136738e883e4 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 20 Jun 2011 00:45:58 +0200 Subject: [PATCH] updated for version 7.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) --- src/normal.c | 1 + src/version.c | 2 ++ 2 files changed, 3 insertions(+) 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 @@ -709,6 +709,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 228, /**/ 227, /**/ -- 2.50.1