Patch 8.0.1638
Problem:    Popup test fails depending on environment variable.
Solution:   Reset $COLORFGBG when running Vim in a terminal. (closes #2693)
Files:      src/testdir/screendump.vim


*** ../vim-8.0.1637/src/testdir/screendump.vim  2018-03-23 20:37:41.023286753 
+0100
--- src/testdir/screendump.vim  2018-03-24 17:51:49.698215735 +0100
***************
*** 30,35 ****
--- 30,42 ----
    " Remove it here.
    call delete(".swp")
  
+   if exists('$COLORFGBG')
+     " Clear $COLORFGBG to avoid 'background' being set to "dark", which will
+     " only be corrected if the response to t_RB is received, which may be too
+     " late.
+     let $COLORFGBG = ''
+   endif
+ 
    " Make a horizontal and vertical split, so that we can get exactly the right
    " size terminal window.  Works only when we currently have one window.
    call assert_equal(1, winnr('$'))
*** ../vim-8.0.1637/src/version.c       2018-03-24 17:16:29.441976567 +0100
--- src/version.c       2018-03-24 17:52:38.410018573 +0100
***************
*** 768,769 ****
--- 768,771 ----
  {   /* Add new patch number below this line */
+ /**/
+     1638,
  /**/

-- 
Never go to the toilet in a paperless office.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui