]> git.pld-linux.org Git - packages/vim.git/blob - 7.3.099
- new
[packages/vim.git] / 7.3.099
1 To: vim_dev@googlegroups.com
2 Subject: Patch 7.3.099
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 7.3.099
11 Problem:    Crash when splitting a window with zero height. (Yukihiro
12             Nakadaira)
13 Solution:   Don't set the fraction in a window with zero height.
14 Files:      src/window.c
15
16
17 *** ../vim-7.3.098/src/window.c 2010-12-17 17:35:05.000000000 +0100
18 --- src/window.c        2011-01-08 14:41:32.000000000 +0100
19 ***************
20 *** 986,992 ****
21   
22       /* Set w_fraction now so that the cursor keeps the same relative
23        * vertical position. */
24 !     set_fraction(oldwin);
25       wp->w_fraction = oldwin->w_fraction;
26   
27   #ifdef FEAT_VERTSPLIT
28 --- 986,993 ----
29   
30       /* Set w_fraction now so that the cursor keeps the same relative
31        * vertical position. */
32 !     if (oldwin->w_height > 0)
33 !       set_fraction(oldwin);
34       wp->w_fraction = oldwin->w_fraction;
35   
36   #ifdef FEAT_VERTSPLIT
37 *** ../vim-7.3.098/src/version.c        2011-01-04 19:25:46.000000000 +0100
38 --- src/version.c       2011-01-08 14:44:02.000000000 +0100
39 ***************
40 *** 716,717 ****
41 --- 716,719 ----
42   {   /* Add new patch number below this line */
43 + /**/
44 +     99,
45   /**/
46
47 -- 
48 From "know your smileys":
49  8-O    "Omigod!!" (done "rm -rf *" ?)
50
51  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
52 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
53 \\\  an exciting new programming language -- http://www.Zimbu.org        ///
54  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.030811 seconds and 3 git commands to generate.