diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-03-29 20:38:59 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-03-29 20:38:59 +0200 |
commit | 8da1e6cedf839902e15987a98733ebd31b5f1b81 (patch) | |
tree | 39e31f70f01f9a64d478f99eb7f1ebf9ba6ab1e7 /src/screen.c | |
parent | bf3d58073f7b34b2d65d1d08a728d1164e03cceb (diff) | |
download | vim-8da1e6cedf839902e15987a98733ebd31b5f1b81.zip |
patch 8.0.0524: folds messed up
Problem: Folds are messed up when 'encodin' is "utf-8".
Solution: Also set the fold character when it's not multi-byte.
Diffstat (limited to 'src/screen.c')
-rw-r--r-- | src/screen.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/screen.c b/src/screen.c index ceb30e337..fbfded1a2 100644 --- a/src/screen.c +++ b/src/screen.c @@ -2700,7 +2700,10 @@ fold_line( ScreenLines[off + col] = 0x80; /* avoid storing zero */ } else + { ScreenLinesUC[off + col] = 0; + ScreenLines[off + col] = fill_fold; + } col++; } else |