|
Karsten Hopp |
7e5694 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
7e5694 |
Subject: Patch 7.1.244
|
|
Karsten Hopp |
7e5694 |
Fcc: outbox
|
|
Karsten Hopp |
7e5694 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
7e5694 |
Mime-Version: 1.0
|
|
Karsten Hopp |
7e5694 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
7e5694 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
7e5694 |
------------
|
|
Karsten Hopp |
7e5694 |
|
|
Karsten Hopp |
7e5694 |
Patch 7.1.244
|
|
Karsten Hopp |
7e5694 |
Problem: GUI may have part of the command line cut off.
|
|
Karsten Hopp |
7e5694 |
Solution: Don't round the number of lines up, always round down.
|
|
Karsten Hopp |
7e5694 |
(Tony Houghton, Scott Dillard)
|
|
Karsten Hopp |
7e5694 |
Files: src/gui.c
|
|
Karsten Hopp |
7e5694 |
|
|
Karsten Hopp |
7e5694 |
|
|
Karsten Hopp |
7e5694 |
*** ../vim-7.1.243/src/gui.c Sat Jan 19 15:55:51 2008
|
|
Karsten Hopp |
7e5694 |
--- src/gui.c Wed Feb 6 16:43:44 2008
|
|
Karsten Hopp |
7e5694 |
***************
|
|
Karsten Hopp |
7e5694 |
*** 1294,1304 ****
|
|
Karsten Hopp |
7e5694 |
out_flush();
|
|
Karsten Hopp |
7e5694 |
|
|
Karsten Hopp |
7e5694 |
gui.num_cols = (pixel_width - gui_get_base_width()) / gui.char_width;
|
|
Karsten Hopp |
7e5694 |
! gui.num_rows = (pixel_height - gui_get_base_height()
|
|
Karsten Hopp |
7e5694 |
! #if !defined(FEAT_GUI_PHOTON) && !defined(FEAT_GUI_MSWIN)
|
|
Karsten Hopp |
7e5694 |
! + (gui.char_height / 2)
|
|
Karsten Hopp |
7e5694 |
! #endif
|
|
Karsten Hopp |
7e5694 |
! ) / gui.char_height;
|
|
Karsten Hopp |
7e5694 |
|
|
Karsten Hopp |
7e5694 |
gui_position_components(pixel_width);
|
|
Karsten Hopp |
7e5694 |
|
|
Karsten Hopp |
7e5694 |
--- 1294,1300 ----
|
|
Karsten Hopp |
7e5694 |
out_flush();
|
|
Karsten Hopp |
7e5694 |
|
|
Karsten Hopp |
7e5694 |
gui.num_cols = (pixel_width - gui_get_base_width()) / gui.char_width;
|
|
Karsten Hopp |
7e5694 |
! gui.num_rows = (pixel_height - gui_get_base_height()) / gui.char_height;
|
|
Karsten Hopp |
7e5694 |
|
|
Karsten Hopp |
7e5694 |
gui_position_components(pixel_width);
|
|
Karsten Hopp |
7e5694 |
|
|
Karsten Hopp |
7e5694 |
*** ../vim-7.1.243/src/version.c Wed Feb 6 14:43:50 2008
|
|
Karsten Hopp |
7e5694 |
--- src/version.c Wed Feb 6 17:32:35 2008
|
|
Karsten Hopp |
7e5694 |
***************
|
|
Karsten Hopp |
7e5694 |
*** 668,669 ****
|
|
Karsten Hopp |
7e5694 |
--- 668,671 ----
|
|
Karsten Hopp |
7e5694 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
7e5694 |
+ /**/
|
|
Karsten Hopp |
7e5694 |
+ 244,
|
|
Karsten Hopp |
7e5694 |
/**/
|
|
Karsten Hopp |
7e5694 |
|
|
Karsten Hopp |
7e5694 |
--
|
|
Karsten Hopp |
7e5694 |
A consultant is a person who takes your money and annoys your employees while
|
|
Karsten Hopp |
7e5694 |
tirelessly searching for the best way to extend the consulting contract.
|
|
Karsten Hopp |
7e5694 |
(Scott Adams - The Dilbert principle)
|
|
Karsten Hopp |
7e5694 |
|
|
Karsten Hopp |
7e5694 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
7e5694 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
7e5694 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
7e5694 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|