4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
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)
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
21 int has_lower = FALSE;
22 int was_letter = FALSE;
24 ! if (p_ic && curbuf->b_p_inf)
26 /* Infer case of completed part. */
29 int has_lower = FALSE;
30 int was_letter = FALSE;
32 ! if (p_ic && curbuf->b_p_inf && len > 0)
34 /* Infer case of completed part. */
38 wca[i] = MB_TOUPPER(wca[i]);
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
46 wca[i] = MB_TOUPPER(wca[i]);
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
58 { /* Add new patch number below this line */
64 From "know your smileys":
65 %-) After staring at screen for 15 hours
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 ///