]>
Commit | Line | Data |
---|---|---|
25f687b8 AM |
1 | To: vim-dev@vim.org |
2 | Subject: patch 7.1.118 | |
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.118 (after 7.1.107) | |
11 | Problem: Compiler warning for Visual C compiler. | |
12 | Solution: Add typecast. (Mike Williams) | |
13 | Files: src/ops.c | |
14 | ||
15 | ||
16 | *** ../vim-7.1.117/src/ops.c Thu Sep 13 22:40:47 2007 | |
17 | --- src/ops.c Mon Sep 24 18:30:09 2007 | |
18 | *************** | |
19 | *** 2605,2611 **** | |
20 | /* Auto-indenting may have changed the indent. If the cursor was past | |
21 | * the indent, exclude that indent change from the inserted text. */ | |
22 | firstline = ml_get(oap->start.lnum); | |
23 | ! if (bd.textcol > pre_indent) | |
24 | { | |
25 | long new_indent = (long)(skipwhite(firstline) - firstline); | |
26 | ||
27 | --- 2605,2611 ---- | |
28 | /* Auto-indenting may have changed the indent. If the cursor was past | |
29 | * the indent, exclude that indent change from the inserted text. */ | |
30 | firstline = ml_get(oap->start.lnum); | |
31 | ! if (bd.textcol > (colnr_T)pre_indent) | |
32 | { | |
33 | long new_indent = (long)(skipwhite(firstline) - firstline); | |
34 | ||
35 | *** ../vim-7.1.117/src/version.c Tue Sep 25 12:50:00 2007 | |
36 | --- src/version.c Tue Sep 25 14:18:37 2007 | |
37 | *************** | |
38 | *** 668,669 **** | |
39 | --- 668,671 ---- | |
40 | { /* Add new patch number below this line */ | |
41 | + /**/ | |
42 | + 118, | |
43 | /**/ | |
44 | ||
45 | -- | |
46 | BRIDGEKEEPER: What is your favorite editor? | |
47 | GAWAIN: Emacs ... No, Viiiiiiiiiiimmmmmmm! | |
48 | "Monty Python and the Holy editor wars" PYTHON (MONTY) SOFTWARE LTD | |
49 | ||
50 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
51 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
52 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
53 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |