Karsten Hopp ab4088
To: vim-dev@vim.org
Karsten Hopp ab4088
Subject: Patch 7.2.119
Karsten Hopp ab4088
Fcc: outbox
Karsten Hopp ab4088
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp ab4088
Mime-Version: 1.0
Karsten Hopp ab4088
Content-Type: text/plain; charset=ISO-8859-1
Karsten Hopp ab4088
Content-Transfer-Encoding: 8bit
Karsten Hopp ab4088
------------
Karsten Hopp ab4088
Karsten Hopp ab4088
Patch 7.2.119
Karsten Hopp ab4088
Problem:    Status line is redrawn too often.
Karsten Hopp ab4088
Solution:   Check ScreeenLinesUC[] properly. (Yukihiro Nakadaira)
Karsten Hopp ab4088
Files:      src/screen.c
Karsten Hopp ab4088
Karsten Hopp ab4088
Karsten Hopp ab4088
*** ../vim-7.2.118/src/screen.c	Sun Feb 22 00:01:42 2009
Karsten Hopp ab4088
--- src/screen.c	Sun Feb 22 01:07:38 2009
Karsten Hopp ab4088
***************
Karsten Hopp ab4088
*** 6362,6368 ****
Karsten Hopp ab4088
  		    && c == 0x8e
Karsten Hopp ab4088
  		    && ScreenLines2[off] != ptr[1])
Karsten Hopp ab4088
  		|| (enc_utf8
Karsten Hopp ab4088
! 		    && (ScreenLinesUC[off] != (u8char_T)u8c
Karsten Hopp ab4088
  			|| screen_comp_differs(off, u8cc)))
Karsten Hopp ab4088
  #endif
Karsten Hopp ab4088
  		|| ScreenAttrs[off] != attr
Karsten Hopp ab4088
--- 6362,6368 ----
Karsten Hopp ab4088
  		    && c == 0x8e
Karsten Hopp ab4088
  		    && ScreenLines2[off] != ptr[1])
Karsten Hopp ab4088
  		|| (enc_utf8
Karsten Hopp ab4088
! 		    && (ScreenLinesUC[off] != (u8char_T)(c >= 0x80 ? u8c : 0)
Karsten Hopp ab4088
  			|| screen_comp_differs(off, u8cc)))
Karsten Hopp ab4088
  #endif
Karsten Hopp ab4088
  		|| ScreenAttrs[off] != attr
Karsten Hopp ab4088
*** ../vim-7.2.118/src/version.c	Sun Feb 22 00:58:03 2009
Karsten Hopp ab4088
--- src/version.c	Sun Feb 22 01:09:54 2009
Karsten Hopp ab4088
***************
Karsten Hopp ab4088
*** 678,679 ****
Karsten Hopp ab4088
--- 678,681 ----
Karsten Hopp ab4088
  {   /* Add new patch number below this line */
Karsten Hopp ab4088
+ /**/
Karsten Hopp ab4088
+     119,
Karsten Hopp ab4088
  /**/
Karsten Hopp ab4088
Karsten Hopp ab4088
-- 
Karsten Hopp ab4088
In a world without walls and borders, who needs windows and gates?
Karsten Hopp ab4088
Karsten Hopp ab4088
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp ab4088
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp ab4088
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp ab4088
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///