To: vim-dev@vim.org Subject: Patch 6.0ax.008 Fcc: outbox From: Bram Moolenaar ------------ Patch 6.0ax.008 Problem: When 'encoding' is "utf-8", a ":vsplit" command or changing the width of a vertically split window caused the vertical separator to contain wrong characters. Solution: Reset the Unicode character when drawing the separator character. Files: src/screen.c *** ../vim60ax.7/src/screen.c Fri Sep 21 10:21:46 2001 --- src/screen.c Fri Sep 21 16:31:07 2001 *************** *** 4197,4202 **** --- 4197,4206 ---- { ScreenLines[off_to] = c; ScreenAttrs[off_to] = hl; + # ifdef FEAT_MBYTE + if (enc_utf8) + ScreenLinesUC[off_to] = 0; + # endif screen_char(off_to, row, col + coloff); } } *** ../vim60ax.7/src/version.c Fri Sep 21 11:59:19 2001 --- src/version.c Fri Sep 21 16:34:46 2001 *************** *** 608,609 **** --- 608,611 ---- { /* Add new patch number below this line */ + /**/ + 8, /**/ -- It is illegal for a driver to be blindfolded while operating a vehicle. [real standing law in Alabama, United States of America] /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\ ((( Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim ))) \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///