Patch 8.2.5142
Problem:    Startup test fails if there is a status bar at the top of the
            screen. (Ernie Rael)
Solution:   Use a larger vertical offset in the test.
Files:      src/testdir/test_startup.vim


*** ../vim-8.2.5141/src/testdir/test_startup.vim        2022-04-12 
15:08:36.673207621 +0100
--- src/testdir/test_startup.vim        2022-06-21 14:33:43.943561854 +0100
***************
*** 531,537 ****
        call writefile([&columns, &lines, getwinposx(), getwinposy(), 
string(getwinpos())], "Xtest_geometry")
        qall
      [CODE]
!     if RunVim([], after, '-f -g -geometry 31x13+41+43')
        let lines = readfile('Xtest_geometry')
        " Depending on the GUI library and the windowing system the final size
        " might be a bit different, allow for some tolerance.  Tuned based on
--- 531,539 ----
        call writefile([&columns, &lines, getwinposx(), getwinposy(), 
string(getwinpos())], "Xtest_geometry")
        qall
      [CODE]
!     " Some window managers have a bar at the top that pushes windows down,
!     " need to use at least 130, let's do 150
!     if RunVim([], after, '-f -g -geometry 31x13+41+150')
        let lines = readfile('Xtest_geometry')
        " Depending on the GUI library and the windowing system the final size
        " might be a bit different, allow for some tolerance.  Tuned based on
***************
*** 539,546 ****
        call assert_inrange(31, 35, str2nr(lines[0]))
        call assert_equal('13', lines[1])
        call assert_equal('41', lines[2])
!       call assert_equal('43', lines[3])
!       call assert_equal('[41, 43]', lines[4])
      endif
    endif
  
--- 541,548 ----
        call assert_inrange(31, 35, str2nr(lines[0]))
        call assert_equal('13', lines[1])
        call assert_equal('41', lines[2])
!       call assert_equal('150', lines[3])
!       call assert_equal('[41, 150]', lines[4])
      endif
    endif
  
*** ../vim-8.2.5141/src/version.c       2022-06-20 13:38:29.166026119 +0100
--- src/version.c       2022-06-21 14:38:02.870205881 +0100
***************
*** 736,737 ****
--- 736,739 ----
  {   /* Add new patch number below this line */
+ /**/
+     5142,
  /**/

-- 
BEDEVERE: And that, my lord, is how we know the Earth to be banana-shaped.
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20220621133919.E05691C1844%40moolenaar.net.

Raspunde prin e-mail lui