diff options
author | Sam Bingner <sam@bingner.com> | 2018-12-13 15:11:52 -1000 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2018-12-13 15:11:52 -1000 |
commit | 957aa75d05c00731d7112bed7b68ce4568667d0c (patch) | |
tree | 0445216818495a7864eaa3acde1a1570d34b958d /data/vim/patches/8.1.0450 | |
parent | c54a909c8b5a8519130803cf55f68603c0ad3682 (diff) |
Update vim
Diffstat (limited to 'data/vim/patches/8.1.0450')
-rw-r--r-- | data/vim/patches/8.1.0450 | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/data/vim/patches/8.1.0450 b/data/vim/patches/8.1.0450 new file mode 100644 index 000000000..7dbcf3816 --- /dev/null +++ b/data/vim/patches/8.1.0450 @@ -0,0 +1,67 @@ +To: vim_dev@googlegroups.com +Subject: Patch 8.1.0450 +Fcc: outbox +From: Bram Moolenaar <Bram@moolenaar.net> +Mime-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit +------------ + +Patch 8.1.0450 (after patch 8.1.0449) +Problem: Build failure without the +fold feature. +Solution: Add #ifdef. +Files: src/screen.c + + +*** ../vim-8.1.0449/src/screen.c 2018-10-02 21:20:08.688088162 +0200 +--- src/screen.c 2018-10-02 21:46:41.722564273 +0200 +*************** +*** 2174,2188 **** + { + if (wp->w_p_rnu) + { + // 'relativenumber' set: The text doesn't need to be drawn, but + // the number column nearly always does. + fold_count = foldedCount(wp, lnum, &win_foldinfo); + if (fold_count != 0) +- { + fold_line(wp, fold_count, &win_foldinfo, lnum, row); +- --fold_count; +- } + else + (void)win_line(wp, lnum, srow, wp->w_height, TRUE, TRUE); + } + +--- 2174,2187 ---- + { + if (wp->w_p_rnu) + { ++ #ifdef FEAT_FOLDING + // 'relativenumber' set: The text doesn't need to be drawn, but + // the number column nearly always does. + fold_count = foldedCount(wp, lnum, &win_foldinfo); + if (fold_count != 0) + fold_line(wp, fold_count, &win_foldinfo, lnum, row); + else ++ #endif + (void)win_line(wp, lnum, srow, wp->w_height, TRUE, TRUE); + } + +*** ../vim-8.1.0449/src/version.c 2018-10-02 21:20:08.688088162 +0200 +--- src/version.c 2018-10-02 21:48:14.785774472 +0200 +*************** +*** 794,795 **** +--- 794,797 ---- + { /* Add new patch number below this line */ ++ /**/ ++ 450, + /**/ + +-- +Amazing but true: If all the salmon caught in Canada in one year were laid +end to end across the Sahara Desert, the smell would be absolutely awful. + + /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ +/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ +\\\ an exciting new programming language -- http://www.Zimbu.org /// + \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |