]> git.pld-linux.org Git - packages/vim.git/blob - 7.1.014
- recognize update_mime_database
[packages/vim.git] / 7.1.014
1 To: vim-dev@vim.org
2 Subject: patch 7.1.014
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.014
11 Problem:    Crash when doing C indenting. (Chris Monson)
12 Solution:   Obtain the current line again after invoking cin_islabel().
13 Files:      src/edit.c
14
15
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
18 ***************
19 *** 7215,7220 ****
20 --- 7215,7222 ----
21                 p = ml_get_curline();
22                 if (cin_iscase(p) || cin_isscopedecl(p) || cin_islabel(30))
23                     return TRUE;
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
31 ***************
32 *** 668,669 ****
33 --- 668,671 ----
34   {   /* Add new patch number below this line */
35 + /**/
36 +     14,
37   /**/
38
39 -- 
40 Have you heard about the new Barbie doll?  It's called Divorce
41 Barbie.  It comes with all of Ken's stuff.
42
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    ///
This page took 0.022761 seconds and 3 git commands to generate.