]> git.pld-linux.org Git - packages/vim.git/blob - 7.1.151
- updated to 7.1.326
[packages/vim.git] / 7.1.151
1 To: vim-dev@vim.org
2 Subject: Patch 7.1.151
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.151
11 Problem:    Using whole line completion with 'ignorecase' and 'infercase' set
12             and the line is empty get an lalloc(0) error.
13 Solution:   Don't try changing case for an empty match. (Matthew Wozniski)
14 Files:      src/edit.c
15
16
17 *** ../vim-7.1.150/src/edit.c   Tue Nov  6 22:26:39 2007
18 --- src/edit.c  Sun Nov  4 16:17:42 2007
19 ***************
20 *** 2111,2117 ****
21       int               has_lower = FALSE;
22       int               was_letter = FALSE;
23   
24 !     if (p_ic && curbuf->b_p_inf)
25       {
26         /* Infer case of completed part. */
27   
28 --- 2111,2117 ----
29       int               has_lower = FALSE;
30       int               was_letter = FALSE;
31   
32 !     if (p_ic && curbuf->b_p_inf && len > 0)
33       {
34         /* Infer case of completed part. */
35   
36 ***************
37 *** 2225,2231 ****
38                     wca[i] = MB_TOUPPER(wca[i]);
39             }
40   
41 !           /* 
42              * Generate encoding specific output from wide character array.
43              * Multi-byte characters can occupy up to five bytes more than
44              * ASCII characters, and we also need one byte for NUL, so stay
45 --- 2225,2231 ----
46                     wca[i] = MB_TOUPPER(wca[i]);
47             }
48   
49 !           /*
50              * Generate encoding specific output from wide character array.
51              * Multi-byte characters can occupy up to five bytes more than
52              * ASCII characters, and we also need one byte for NUL, so stay
53 *** ../vim-7.1.150/src/version.c        Thu Nov  8 10:35:02 2007
54 --- src/version.c       Thu Nov  8 13:01:34 2007
55 ***************
56 *** 668,669 ****
57 --- 668,671 ----
58   {   /* Add new patch number below this line */
59 + /**/
60 +     151,
61   /**/
62
63 -- 
64 From "know your smileys":
65  %-)    After staring at screen for 15 hours
66
67  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
68 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
69 \\\        download, build and distribute -- http://www.A-A-P.org        ///
70  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.028556 seconds and 3 git commands to generate.