Mercurial > vim
changeset 29562:a4dcf15f8014 v9.0.0122
patch 9.0.0122: breakindent test fails
Commit: https://github.com/vim/vim/commit/be33e5e4a979811df84e19995b94655128f31046
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 31 18:00:10 2022 +0100
patch 9.0.0122: breakindent test fails
Problem: Breakindent test fails.
Solution: Fix condition.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 31 Jul 2022 19:15:03 +0200 |
parents | 0634e31bf2f6 |
children | 4ab4529a7031 |
files | src/charset.c src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/charset.c +++ b/src/charset.c @@ -771,7 +771,7 @@ win_linetabsize(win_T *wp, linenr_T lnum chartabsize_T cts; init_chartabsize_arg(&cts, wp, lnum, 0, line, line); - cts.cts_with_trailing = len = MAXCOL; + cts.cts_with_trailing = len == MAXCOL; for ( ; *cts.cts_ptr != NUL && (len == MAXCOL || cts.cts_ptr < line + len); MB_PTR_ADV(cts.cts_ptr)) cts.cts_vcol += win_lbr_chartabsize(&cts, NULL);