4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: GUI may have part of the command line cut off.
12 Solution: Don't round the number of lines up, always round down.
13 (Tony Houghton, Scott Dillard)
17 *** ../vim-7.1.243/src/gui.c Sat Jan 19 15:55:51 2008
18 --- src/gui.c Wed Feb 6 16:43:44 2008
23 gui.num_cols = (pixel_width - gui_get_base_width()) / gui.char_width;
24 ! gui.num_rows = (pixel_height - gui_get_base_height()
25 ! #if !defined(FEAT_GUI_PHOTON) && !defined(FEAT_GUI_MSWIN)
26 ! + (gui.char_height / 2)
28 ! ) / gui.char_height;
30 gui_position_components(pixel_width);
35 gui.num_cols = (pixel_width - gui_get_base_width()) / gui.char_width;
36 ! gui.num_rows = (pixel_height - gui_get_base_height()) / gui.char_height;
38 gui_position_components(pixel_width);
40 *** ../vim-7.1.243/src/version.c Wed Feb 6 14:43:50 2008
41 --- src/version.c Wed Feb 6 17:32:35 2008
45 { /* Add new patch number below this line */
51 A consultant is a person who takes your money and annoys your employees while
52 tirelessly searching for the best way to extend the consulting contract.
53 (Scott Adams - The Dilbert principle)
55 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
56 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
57 \\\ download, build and distribute -- http://www.A-A-P.org ///
58 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///