]> git.pld-linux.org Git - packages/vim.git/blob - 7.0.037
- updated to 0.7.3
[packages/vim.git] / 7.0.037
1 To: vim-dev@vim.org
2 Subject: Patch 7.0.037
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.0.037
11 Problem:    Crash when resizing the GUI window vertically when there is a line
12             that doesn't fit.
13 Solution:   Don't redraw while the screen data is invalid.
14 Files:      src/screen.c
15
16
17 *** ../vim-7.0.036/src/screen.c Tue Jul 11 22:36:19 2006
18 --- src/screen.c        Tue Jul 11 21:33:53 2006
19 ***************
20 *** 7129,7134 ****
21 --- 7129,7140 ----
22         return;
23       entered = TRUE;
24   
25 +     /*
26 +      * Note that the window sizes are updated before reallocating the arrays,
27 +      * thus we must not redraw here!
28 +      */
29 +     ++RedrawingDisabled;
30
31       win_new_shellsize();    /* fit the windows in the new sized shell */
32   
33       comp_col();               /* recompute columns for shown command and ruler */
34 ***************
35 *** 7363,7368 ****
36 --- 7369,7375 ----
37   #endif
38   
39       entered = FALSE;
40 +     --RedrawingDisabled;
41   
42   #ifdef FEAT_AUTOCMD
43       if (starting == 0)
44 *** ../vim-7.0.036/src/version.c        Tue Jul 11 22:36:19 2006
45 --- src/version.c       Tue Jul 11 22:38:39 2006
46 ***************
47 *** 668,669 ****
48 --- 668,671 ----
49   {   /* Add new patch number below this line */
50 + /**/
51 +     37,
52   /**/
53
54 -- 
55 For society, it's probably a good thing that engineers value function over
56 appearance.  For example, you wouldn't want engineers to build nuclear power
57 plants that only _look_ like they would keep all the radiation inside.
58                                 (Scott Adams - The Dilbert principle)
59
60  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
61 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
62 \\\        download, build and distribute -- http://www.A-A-P.org        ///
63  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.024768 seconds and 3 git commands to generate.