summaryrefslogtreecommitdiffstats
path: root/vi/vim-7.2/7.2.094
blob: bc79fa564769369d500525768d1e29ab857efe20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
To: vim-dev@vim.org
Subject: Patch 7.2.094
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
------------

Patch 7.2.094
Problem:    Compiler warning for signed/unsigned compare.
Solution:   Add type cast.  Also fix a few typos.
Files:	    src/edit.c


*** ../vim-7.2.093/src/edit.c	Tue Jan 13 12:29:03 2009
--- src/edit.c	Wed Jan 28 21:13:51 2009
***************
*** 1958,1963 ****
--- 1958,1964 ----
   * Only matters when there are composing characters.
   * Return TRUE when something was deleted.
   */
+ /*ARGSUSED*/
     static int
  del_char_after_col(limit_col)
      int limit_col;
***************
*** 1971,1977 ****
  	 * skip forward again when going too far back because of a
  	 * composing character. */
  	mb_adjust_cursor();
! 	while (curwin->w_cursor.col < limit_col)
  	{
  	    int l = utf_ptr2len(ml_get_cursor());
  
--- 1972,1978 ----
  	 * skip forward again when going too far back because of a
  	 * composing character. */
  	mb_adjust_cursor();
! 	while (curwin->w_cursor.col < (colnr_T)limit_col)
  	{
  	    int l = utf_ptr2len(ml_get_cursor());
  
***************
*** 4240,4246 ****
  	}
  
  	/* check if compl_curr_match has changed, (e.g. other type of
! 	 * expansion added somenthing) */
  	if (type != 0 && compl_curr_match != old_match)
  	    found_new_match = OK;
  
--- 4241,4247 ----
  	}
  
  	/* check if compl_curr_match has changed, (e.g. other type of
! 	 * expansion added something) */
  	if (type != 0 && compl_curr_match != old_match)
  	    found_new_match = OK;
  
***************
*** 4741,4747 ****
  		}
  		compl_length = curwin->w_cursor.col - (int)compl_col;
  		/* IObuff is used to add a "word from the next line" would we
! 		 * have enough space?  just being paranoic */
  #define	MIN_SPACE 75
  		if (compl_length > (IOSIZE - MIN_SPACE))
  		{
--- 4742,4748 ----
  		}
  		compl_length = curwin->w_cursor.col - (int)compl_col;
  		/* IObuff is used to add a "word from the next line" would we
! 		 * have enough space?  just being paranoid */
  #define	MIN_SPACE 75
  		if (compl_length > (IOSIZE - MIN_SPACE))
  		{
***************
*** 8206,8212 ****
  /*
   * If the cursor is on an indent, ^T/^D insert/delete one
   * shiftwidth.	Otherwise ^T/^D behave like a "<<" or ">>".
!  * Always round the indent to 'shiftwith', this is compatible
   * with vi.  But vi only supports ^T and ^D after an
   * autoindent, we support it everywhere.
   */
--- 8207,8213 ----
  /*
   * If the cursor is on an indent, ^T/^D insert/delete one
   * shiftwidth.	Otherwise ^T/^D behave like a "<<" or ">>".
!  * Always round the indent to 'shiftwidth', this is compatible
   * with vi.  But vi only supports ^T and ^D after an
   * autoindent, we support it everywhere.
   */
*** ../vim-7.2.093/src/version.c	Wed Jan 28 21:22:20 2009
--- src/version.c	Wed Feb  4 11:17:02 2009
***************
*** 678,679 ****
--- 678,681 ----
  {   /* Add new patch number below this line */
+ /**/
+     94,
  /**/

-- 
Despite the cost of living, have you noticed how it remains so popular?

 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///