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