]>
Commit | Line | Data |
---|---|---|
7bf01cab ER |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.1.154 | |
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.154 | |
11 | Problem: Compiler warning for signed/unsigned compare. | |
12 | Solution: Add type cast. | |
13 | Files: src/screen.c | |
14 | ||
15 | ||
16 | *** ../vim-7.1.153/src/screen.c Thu Nov 8 14:50:58 2007 | |
17 | --- src/screen.c Thu Nov 8 21:18:46 2007 | |
18 | *************** | |
19 | *** 4315,4321 **** | |
20 | long prevcol = (long)(ptr - line) - (c == NUL); | |
21 | ||
22 | /* we're not really at that column when skipping some text */ | |
23 | ! if ((wp->w_p_wrap ? wp->w_skipcol : wp->w_leftcol) > prevcol) | |
24 | ++prevcol; | |
25 | #endif | |
26 | ||
27 | --- 4315,4321 ---- | |
28 | long prevcol = (long)(ptr - line) - (c == NUL); | |
29 | ||
30 | /* we're not really at that column when skipping some text */ | |
31 | ! if ((long)(wp->w_p_wrap ? wp->w_skipcol : wp->w_leftcol) > prevcol) | |
32 | ++prevcol; | |
33 | #endif | |
34 | ||
35 | *** ../vim-7.1.153/src/version.c Thu Nov 8 20:47:34 2007 | |
36 | --- src/version.c Thu Nov 8 21:19:59 2007 | |
37 | *************** | |
38 | *** 668,669 **** | |
39 | --- 668,671 ---- | |
40 | { /* Add new patch number below this line */ | |
41 | + /**/ | |
42 | + 154, | |
43 | /**/ | |
44 | ||
45 | -- | |
46 | From "know your smileys": | |
47 | :-F Bucktoothed vampire with one tooth missing | |
48 | ||
49 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
50 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
51 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
52 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |