]> git.pld-linux.org Git - packages/vim.git/blame - 7.2.158
- new
[packages/vim.git] / 7.2.158
CommitLineData
4c0a682a
AG
1To: vim-dev@vim.org
2Subject: Patch 7.2.158
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=ISO-8859-1
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.2.158
11Problem: Warnings from VisualC compiler.
12Solution: Add type casts. (George Reilly)
13Files: src/ops.c
14
15
16*** ../vim-7.2.157/src/ops.c Wed Mar 11 16:26:01 2009
17--- src/ops.c Wed Apr 22 13:01:46 2009
18***************
19*** 495,504 ****
20 block_space_width = non_white_col - oap->start_vcol;
21 /* We will shift by "total" or "block_space_width", whichever is less.
22 */
23! shift_amount = (block_space_width < total? block_space_width: total);
24
25 /* The column to which we will shift the text. */
26! destination_col = non_white_col - shift_amount;
27
28 /* Now let's find out how much of the beginning of the line we can
29 * reuse without modification. */
30--- 495,505 ----
31 block_space_width = non_white_col - oap->start_vcol;
32 /* We will shift by "total" or "block_space_width", whichever is less.
33 */
34! shift_amount = (block_space_width < (size_t)total
35! ? block_space_width : (size_t)total);
36
37 /* The column to which we will shift the text. */
38! destination_col = (colnr_T)(non_white_col - shift_amount);
39
40 /* Now let's find out how much of the beginning of the line we can
41 * reuse without modification. */
42*** ../vim-7.2.157/src/version.c Wed Apr 22 16:42:24 2009
43--- src/version.c Wed Apr 22 17:42:19 2009
44***************
45*** 678,679 ****
46--- 678,681 ----
47 { /* Add new patch number below this line */
48+ /**/
49+ 158,
50 /**/
51
52--
53ARTHUR: What?
54BLACK KNIGHT: None shall pass.
55ARTHUR: I have no quarrel with you, good Sir knight, but I must cross
56 this bridge.
57BLACK KNIGHT: Then you shall die.
58 The Quest for the Holy Grail (Monty Python)
59
60 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
61/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
62\\\ download, build and distribute -- http://www.A-A-P.org ///
63 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.032465 seconds and 4 git commands to generate.