]> git.pld-linux.org Git - packages/vim.git/blob - 7.2.094
- new
[packages/vim.git] / 7.2.094
1 To: vim-dev@vim.org
2 Subject: Patch 7.2.094
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.2.094
11 Problem:    Compiler warning for signed/unsigned compare.
12 Solution:   Add type cast.  Also fix a few typos.
13 Files:      src/edit.c
14
15
16 *** ../vim-7.2.093/src/edit.c   Tue Jan 13 12:29:03 2009
17 --- src/edit.c  Wed Jan 28 21:13:51 2009
18 ***************
19 *** 1958,1963 ****
20 --- 1958,1964 ----
21    * Only matters when there are composing characters.
22    * Return TRUE when something was deleted.
23    */
24 + /*ARGSUSED*/
25      static int
26   del_char_after_col(limit_col)
27       int limit_col;
28 ***************
29 *** 1971,1977 ****
30          * skip forward again when going too far back because of a
31          * composing character. */
32         mb_adjust_cursor();
33 !       while (curwin->w_cursor.col < limit_col)
34         {
35             int l = utf_ptr2len(ml_get_cursor());
36   
37 --- 1972,1978 ----
38          * skip forward again when going too far back because of a
39          * composing character. */
40         mb_adjust_cursor();
41 !       while (curwin->w_cursor.col < (colnr_T)limit_col)
42         {
43             int l = utf_ptr2len(ml_get_cursor());
44   
45 ***************
46 *** 4240,4246 ****
47         }
48   
49         /* check if compl_curr_match has changed, (e.g. other type of
50 !        * expansion added somenthing) */
51         if (type != 0 && compl_curr_match != old_match)
52             found_new_match = OK;
53   
54 --- 4241,4247 ----
55         }
56   
57         /* check if compl_curr_match has changed, (e.g. other type of
58 !        * expansion added something) */
59         if (type != 0 && compl_curr_match != old_match)
60             found_new_match = OK;
61   
62 ***************
63 *** 4741,4747 ****
64                 }
65                 compl_length = curwin->w_cursor.col - (int)compl_col;
66                 /* IObuff is used to add a "word from the next line" would we
67 !                * have enough space?  just being paranoic */
68   #define       MIN_SPACE 75
69                 if (compl_length > (IOSIZE - MIN_SPACE))
70                 {
71 --- 4742,4748 ----
72                 }
73                 compl_length = curwin->w_cursor.col - (int)compl_col;
74                 /* IObuff is used to add a "word from the next line" would we
75 !                * have enough space?  just being paranoid */
76   #define       MIN_SPACE 75
77                 if (compl_length > (IOSIZE - MIN_SPACE))
78                 {
79 ***************
80 *** 8206,8212 ****
81   /*
82    * If the cursor is on an indent, ^T/^D insert/delete one
83    * shiftwidth.        Otherwise ^T/^D behave like a "<<" or ">>".
84 !  * Always round the indent to 'shiftwith', this is compatible
85    * with vi.  But vi only supports ^T and ^D after an
86    * autoindent, we support it everywhere.
87    */
88 --- 8207,8213 ----
89   /*
90    * If the cursor is on an indent, ^T/^D insert/delete one
91    * shiftwidth.        Otherwise ^T/^D behave like a "<<" or ">>".
92 !  * Always round the indent to 'shiftwidth', this is compatible
93    * with vi.  But vi only supports ^T and ^D after an
94    * autoindent, we support it everywhere.
95    */
96 *** ../vim-7.2.093/src/version.c        Wed Jan 28 21:22:20 2009
97 --- src/version.c       Wed Feb  4 11:17:02 2009
98 ***************
99 *** 678,679 ****
100 --- 678,681 ----
101   {   /* Add new patch number below this line */
102 + /**/
103 +     94,
104   /**/
105
106 -- 
107 Despite the cost of living, have you noticed how it remains so popular?
108
109  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
110 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
111 \\\        download, build and distribute -- http://www.A-A-P.org        ///
112  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.076267 seconds and 3 git commands to generate.