]> granicus.if.org Git - vim/commitdiff
updated for version 7.2.329 v7.2.329
authorBram Moolenaar <Bram@vim.org>
Tue, 12 Jan 2010 14:42:37 +0000 (15:42 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 12 Jan 2010 14:42:37 +0000 (15:42 +0100)
Problem:    "g_" doesn't position cursor correctly when in Visual mode and
            'selection' is "exclusive". (Ben Fritz)
Solution:   Call adjust_for_sel().

src/mkinstalldirs
src/normal.c
src/version.c

index 64ae3939c201c8378e47abcb456949ae23b6c144..68c4e738da13fd0d1f281a99f7a263b5563a5c46 100755 (executable)
@@ -4,8 +4,6 @@
 # Created: 1993-05-16
 # Public domain
 
-# $Id$
-
 errstatus=0
 
 for file
index befe4ac9e1a19a1f7239fff8200b3be150b35daf..0c2325d931f0f97e9a497c16f24b2911f89ec9bb 100644 (file)
@@ -7873,6 +7873,9 @@ nv_g_cmd(cap)
                                    && vim_iswhite(ptr[curwin->w_cursor.col]))
                --curwin->w_cursor.col;
            curwin->w_set_curswant = TRUE;
+#ifdef FEAT_VISUAL
+           adjust_for_sel(cap);
+#endif
        }
        break;
 
index f628c8ca04f995ffb811c1c08690cd898074954a..1df2b6acebb61dfeaded528e80863f4f612b5076 100644 (file)
@@ -681,6 +681,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    329,
 /**/
     328,
 /**/