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 'cmdheight' set to very large value. (A.Politz)
12 Solution: Limit 'cmdheight' to 'lines' minus one. Store right value of
13 'cmdheight' when running out of room.
14 Files: src/option.c, src/window.c
17 *** ../vim-7.1.118/src/option.c Thu Sep 6 16:33:47 2007
18 --- src/option.c Tue Sep 25 12:17:35 2007
25 + if (p_ch > Rows - min_rows() + 1)
26 + p_ch = Rows - min_rows() + 1;
28 /* Only compute the new window layout when startup has been
29 * completed. Otherwise the frame sizes may be wrong. */
30 *** ../vim-7.1.118/src/window.c Thu Sep 13 18:25:08 2007
31 --- src/window.c Tue Sep 25 12:13:56 2007
38 + curtab->tp_ch_used = p_ch;
39 cmdline_row = Rows - p_ch;
42 *** ../vim-7.1.118/src/version.c Tue Sep 25 14:19:35 2007
43 --- src/version.c Tue Sep 25 14:48:14 2007
47 { /* Add new patch number below this line */
53 Q: Why does /dev/null accept only integers?
54 A: You can't sink a float.
56 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
57 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
58 \\\ download, build and distribute -- http://www.A-A-P.org ///
59 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///