]> git.pld-linux.org Git - packages/vim.git/blob - 7.1.132
- typo
[packages/vim.git] / 7.1.132
1 To: vim-dev@vim.org
2 Subject: patch 7.1.132
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 7.1.132
11 Problem:    getpos("'>") may return a negative column number for a Linewise
12             selection. (A.Politz)
13 Solution:   Don't add one to MAXCOL.
14 Files:      src/eval.c
15
16
17 *** ../vim-7.1.131/src/eval.c   Tue Sep 25 20:39:14 2007
18 --- src/eval.c  Mon Oct  1 20:56:09 2007
19 ***************
20 *** 10388,10394 ****
21             list_append_number(l, (varnumber_T)0);
22         list_append_number(l, (fp != NULL) ? (varnumber_T)fp->lnum
23                                                             : (varnumber_T)0);
24 !       list_append_number(l, (fp != NULL) ? (varnumber_T)fp->col + 1
25                                                             : (varnumber_T)0);
26         list_append_number(l,
27   #ifdef FEAT_VIRTUALEDIT
28 --- 10388,10395 ----
29             list_append_number(l, (varnumber_T)0);
30         list_append_number(l, (fp != NULL) ? (varnumber_T)fp->lnum
31                                                             : (varnumber_T)0);
32 !       list_append_number(l, (fp != NULL)
33 !                    ? (varnumber_T)(fp->col == MAXCOL ? MAXCOL : fp->col + 1)
34                                                             : (varnumber_T)0);
35         list_append_number(l,
36   #ifdef FEAT_VIRTUALEDIT
37 *** ../vim-7.1.131/src/version.c        Tue Oct  2 20:40:01 2007
38 --- src/version.c       Tue Oct  2 22:07:17 2007
39 ***************
40 *** 668,669 ****
41 --- 668,671 ----
42   {   /* Add new patch number below this line */
43 + /**/
44 +     132,
45   /**/
46
47 -- 
48 "The future's already arrived - it's just not evenly distributed yet."
49                 -- William Gibson
50
51  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
52 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
53 \\\        download, build and distribute -- http://www.A-A-P.org        ///
54  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.169556 seconds and 3 git commands to generate.