]> granicus.if.org Git - vim/commitdiff
updated for version 7.1-132 v7.1.132
authorBram Moolenaar <Bram@vim.org>
Tue, 2 Oct 2007 20:08:54 +0000 (20:08 +0000)
committerBram Moolenaar <Bram@vim.org>
Tue, 2 Oct 2007 20:08:54 +0000 (20:08 +0000)
src/eval.c
src/version.c

index 740b8dd41ff5d230b989114436ddc08fca3bf74f..ca9e2dcc13ef94c5238196bf98d8de89f4230a21 100644 (file)
@@ -10388,7 +10388,8 @@ f_getpos(argvars, rettv)
            list_append_number(l, (varnumber_T)0);
        list_append_number(l, (fp != NULL) ? (varnumber_T)fp->lnum
                                                            : (varnumber_T)0);
-       list_append_number(l, (fp != NULL) ? (varnumber_T)fp->col + 1
+       list_append_number(l, (fp != NULL)
+                    ? (varnumber_T)(fp->col == MAXCOL ? MAXCOL : fp->col + 1)
                                                            : (varnumber_T)0);
        list_append_number(l,
 #ifdef FEAT_VIRTUALEDIT
index a8de5b3f107c96ad32207f184e7b9fe5e1c19bbe..e009adbd087ea3a85b3e369cee02cfb7a5e332cb 100644 (file)
@@ -666,6 +666,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    132,
 /**/
     131,
 /**/