home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 7.1 / 7.1.244 < prev    next >
Encoding:
Internet Message Format  |  2008-02-05  |  1.8 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 7.1.244
  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.1.244
  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)
  14. Files:        src/gui.c
  15.  
  16.  
  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
  19. ***************
  20. *** 1294,1304 ****
  21.       out_flush();
  22.   
  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)
  27. ! #endif
  28. !                     ) / gui.char_height;
  29.   
  30.       gui_position_components(pixel_width);
  31.   
  32. --- 1294,1300 ----
  33.       out_flush();
  34.   
  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;
  37.   
  38.       gui_position_components(pixel_width);
  39.   
  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
  42. ***************
  43. *** 668,669 ****
  44. --- 668,671 ----
  45.   {   /* Add new patch number below this line */
  46. + /**/
  47. +     244,
  48.   /**/
  49.  
  50. -- 
  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)
  54.  
  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    ///
  59.