To: vim-dev@vim.org Subject: Patch 6.0ax.020 Fcc: outbox From: Bram Moolenaar ------------ Patch 6.0ax.020 Problem: GUI: The scrollbar of the second vertically split window was a few pixels down. Solution: Check the vertical position to decide to include the border. Files: src/gui.c *** ../vim60ax.19/src/gui.c Tue Sep 25 11:32:18 2001 --- src/gui.c Tue Sep 25 11:38:35 2001 *************** *** 3304,3310 **** # endif #endif ! if (wp == firstwin) { /* Height of top scrollbar includes width of top border */ h += gui.border_offset; --- 3304,3312 ---- # endif #endif ! #ifdef FEAT_WINDOWS ! if (wp->w_winrow == 0) ! #endif { /* Height of top scrollbar includes width of top border */ h += gui.border_offset; *** ../vim60ax.19/src/version.c Tue Sep 25 11:33:12 2001 --- src/version.c Tue Sep 25 11:42:42 2001 *************** *** 608,609 **** --- 608,611 ---- { /* Add new patch number below this line */ + /**/ + 20, /**/ -- Never under any circumstances take a sleeping pill and a laxative on the same night. /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\ ((( Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim ))) \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///