4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: Crash when doing C indenting. (Chris Monson)
12 Solution: Obtain the current line again after invoking cin_islabel().
16 *** ../vim-7.1.013/src/edit.c Thu May 10 20:44:18 2007
17 --- src/edit.c Wed Jun 20 18:25:54 2007
22 if (cin_iscase(p) || cin_isscopedecl(p) || cin_islabel(30))
24 + /* Need to get the line again after cin_islabel(). */
25 + p = ml_get_curline();
26 if (curwin->w_cursor.col > 2
27 && p[curwin->w_cursor.col - 1] == ':'
28 && p[curwin->w_cursor.col - 2] == ':')
29 *** ../vim-7.1.013/src/version.c Thu Jun 28 11:59:13 2007
30 --- src/version.c Thu Jun 28 12:26:52 2007
34 { /* Add new patch number below this line */
40 Have you heard about the new Barbie doll? It's called Divorce
41 Barbie. It comes with all of Ken's stuff.
43 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
44 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
45 \\\ download, build and distribute -- http://www.A-A-P.org ///
46 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///