Karsten Hopp c2ece9
To: vim_dev@googlegroups.com
Karsten Hopp c2ece9
Subject: Patch 7.4.762
Karsten Hopp c2ece9
Fcc: outbox
Karsten Hopp c2ece9
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp c2ece9
Mime-Version: 1.0
Karsten Hopp c2ece9
Content-Type: text/plain; charset=UTF-8
Karsten Hopp c2ece9
Content-Transfer-Encoding: 8bit
Karsten Hopp c2ece9
------------
Karsten Hopp c2ece9
Karsten Hopp c2ece9
Patch 7.4.762 (after 7.4.757)
Karsten Hopp c2ece9
Problem:    Comment for may_req_bg_color() is wrong. (Christ van Willegen)
Karsten Hopp c2ece9
Solution:   Rewrite the comment.
Karsten Hopp c2ece9
Files:      src/term.c
Karsten Hopp c2ece9
Karsten Hopp c2ece9
Karsten Hopp c2ece9
*** ../vim-7.4.761/src/term.c	2015-06-25 19:16:51.489906203 +0200
Karsten Hopp c2ece9
--- src/term.c	2015-06-25 20:07:42.969433277 +0200
Karsten Hopp c2ece9
***************
Karsten Hopp c2ece9
*** 3409,3421 ****
Karsten Hopp c2ece9
  
Karsten Hopp c2ece9
  #if defined(FEAT_TERMRESPONSE) || defined(PROTO)
Karsten Hopp c2ece9
  /*
Karsten Hopp c2ece9
!  * Check how the terminal treats ambiguous character width (UAX #11).
Karsten Hopp c2ece9
!  * First, we move the cursor to (1, 0) and print a test ambiguous character
Karsten Hopp c2ece9
!  * \u25bd (WHITE DOWN-POINTING TRIANGLE) and query current cursor position.
Karsten Hopp c2ece9
!  * If the terminal treats \u25bd as single width, the position is (1, 1),
Karsten Hopp c2ece9
!  * or if it is treated as double width, that will be (1, 2).
Karsten Hopp c2ece9
!  * This function has the side effect that changes cursor position, so
Karsten Hopp c2ece9
!  * it must be called immediately after entering termcap mode.
Karsten Hopp c2ece9
   */
Karsten Hopp c2ece9
      void
Karsten Hopp c2ece9
  may_req_bg_color()
Karsten Hopp c2ece9
--- 3409,3416 ----
Karsten Hopp c2ece9
  
Karsten Hopp c2ece9
  #if defined(FEAT_TERMRESPONSE) || defined(PROTO)
Karsten Hopp c2ece9
  /*
Karsten Hopp c2ece9
!  * Similar to requesting the version string: Request the terminal background
Karsten Hopp c2ece9
!  * color when it is the right moment.
Karsten Hopp c2ece9
   */
Karsten Hopp c2ece9
      void
Karsten Hopp c2ece9
  may_req_bg_color()
Karsten Hopp c2ece9
*** ../vim-7.4.761/src/version.c	2015-06-25 19:16:51.489906203 +0200
Karsten Hopp c2ece9
--- src/version.c	2015-06-27 18:33:02.632450430 +0200
Karsten Hopp c2ece9
***************
Karsten Hopp c2ece9
*** 743,744 ****
Karsten Hopp c2ece9
--- 743,746 ----
Karsten Hopp c2ece9
  {   /* Add new patch number below this line */
Karsten Hopp c2ece9
+ /**/
Karsten Hopp c2ece9
+     762,
Karsten Hopp c2ece9
  /**/
Karsten Hopp c2ece9
Karsten Hopp c2ece9
-- 
Karsten Hopp c2ece9
hundred-and-one symptoms of being an internet addict:
Karsten Hopp c2ece9
163. You go outside for the fresh air (at -30 degrees) but open the
Karsten Hopp c2ece9
     window first to hear new mail arrive.
Karsten Hopp c2ece9
Karsten Hopp c2ece9
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp c2ece9
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp c2ece9
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp c2ece9
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///