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 / unreleased / patches / 6.0ax.020 < prev    next >
Encoding:
Internet Message Format  |  2001-09-24  |  1.3 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.0ax.020
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. ------------
  6.  
  7. Patch 6.0ax.020
  8. Problem:    GUI: The scrollbar of the second vertically split window was a few
  9.         pixels down.
  10. Solution:   Check the vertical position to decide to include the border.
  11. Files:        src/gui.c
  12.  
  13.  
  14. *** ../vim60ax.19/src/gui.c    Tue Sep 25 11:32:18 2001
  15. --- src/gui.c    Tue Sep 25 11:38:35 2001
  16. ***************
  17. *** 3304,3310 ****
  18.   # endif
  19.   #endif
  20.   
  21. !         if (wp == firstwin)
  22.           {
  23.           /* Height of top scrollbar includes width of top border */
  24.           h += gui.border_offset;
  25. --- 3304,3312 ----
  26.   # endif
  27.   #endif
  28.   
  29. ! #ifdef FEAT_WINDOWS
  30. !         if (wp->w_winrow == 0)
  31. ! #endif
  32.           {
  33.           /* Height of top scrollbar includes width of top border */
  34.           h += gui.border_offset;
  35. *** ../vim60ax.19/src/version.c    Tue Sep 25 11:33:12 2001
  36. --- src/version.c    Tue Sep 25 11:42:42 2001
  37. ***************
  38. *** 608,609 ****
  39. --- 608,611 ----
  40.   {   /* Add new patch number below this line */
  41. + /**/
  42. +     20,
  43.   /**/
  44.  
  45. -- 
  46. Never under any circumstances take a sleeping pill
  47. and a laxative on the same night.
  48.  
  49.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  50. (((   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   )))
  51.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  52.