Karsten Hopp ea0420
To: vim_dev@googlegroups.com
Karsten Hopp ea0420
Subject: Patch 7.3.638
Karsten Hopp ea0420
Fcc: outbox
Karsten Hopp ea0420
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp ea0420
Mime-Version: 1.0
Karsten Hopp ea0420
Content-Type: text/plain; charset=UTF-8
Karsten Hopp ea0420
Content-Transfer-Encoding: 8bit
Karsten Hopp ea0420
------------
Karsten Hopp ea0420
Karsten Hopp ea0420
Patch 7.3.638
Karsten Hopp ea0420
Problem:    Unecessary redraw of the previous character.
Karsten Hopp ea0420
Solution:   Check if the character is double-width. (Jon Long)
Karsten Hopp ea0420
Files:	    src/screen.c
Karsten Hopp ea0420
Karsten Hopp ea0420
Karsten Hopp ea0420
*** ../vim-7.3.637/src/screen.c	2012-07-10 16:49:08.000000000 +0200
Karsten Hopp ea0420
--- src/screen.c	2012-08-23 18:49:33.000000000 +0200
Karsten Hopp ea0420
***************
Karsten Hopp ea0420
*** 5332,5339 ****
Karsten Hopp ea0420
  		    && (ScreenLinesUC[off_from] != ScreenLinesUC[off_to]
Karsten Hopp ea0420
  			|| (ScreenLinesUC[off_from] != 0
Karsten Hopp ea0420
  			    && comp_char_differs(off_from, off_to))
Karsten Hopp ea0420
! 			|| (cols > 1 && ScreenLines[off_from + 1]
Karsten Hopp ea0420
! 						 != ScreenLines[off_to + 1])))
Karsten Hopp ea0420
  #endif
Karsten Hopp ea0420
  	       ))
Karsten Hopp ea0420
  	return TRUE;
Karsten Hopp ea0420
--- 5332,5340 ----
Karsten Hopp ea0420
  		    && (ScreenLinesUC[off_from] != ScreenLinesUC[off_to]
Karsten Hopp ea0420
  			|| (ScreenLinesUC[off_from] != 0
Karsten Hopp ea0420
  			    && comp_char_differs(off_from, off_to))
Karsten Hopp ea0420
! 			|| ((*mb_off2cells)(off_from, off_from + cols) > 1
Karsten Hopp ea0420
! 			    && ScreenLines[off_from + 1]
Karsten Hopp ea0420
! 						  != ScreenLines[off_to + 1])))
Karsten Hopp ea0420
  #endif
Karsten Hopp ea0420
  	       ))
Karsten Hopp ea0420
  	return TRUE;
Karsten Hopp ea0420
*** ../vim-7.3.637/src/version.c	2012-08-23 18:43:06.000000000 +0200
Karsten Hopp ea0420
--- src/version.c	2012-08-23 18:47:11.000000000 +0200
Karsten Hopp ea0420
***************
Karsten Hopp ea0420
*** 721,722 ****
Karsten Hopp ea0420
--- 721,724 ----
Karsten Hopp ea0420
  {   /* Add new patch number below this line */
Karsten Hopp ea0420
+ /**/
Karsten Hopp ea0420
+     638,
Karsten Hopp ea0420
  /**/
Karsten Hopp ea0420
Karsten Hopp ea0420
-- 
Karsten Hopp ea0420
There is a fine line between courage and foolishness.
Karsten Hopp ea0420
Unfortunately, it's not a fence.
Karsten Hopp ea0420
Karsten Hopp ea0420
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp ea0420
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp ea0420
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp ea0420
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///