diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-07-31 18:00:10 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-07-31 18:00:10 +0100 |
commit | be33e5e4a979811df84e19995b94655128f31046 (patch) | |
tree | 5fec71220b796db6fd0c660eac9929bf67ef195c /src/charset.c | |
parent | b7963df98f9dbbb824713acad2f47c9989fcf8f3 (diff) | |
download | vim-git-be33e5e4a979811df84e19995b94655128f31046.tar.gz |
patch 9.0.0122: breakindent test failsv9.0.0122
Problem: Breakindent test fails.
Solution: Fix condition.
Diffstat (limited to 'src/charset.c')
-rw-r--r-- | src/charset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/charset.c b/src/charset.c index b55468fbd..72838d0f9 100644 --- a/src/charset.c +++ b/src/charset.c @@ -771,7 +771,7 @@ win_linetabsize(win_T *wp, linenr_T lnum, char_u *line, colnr_T len) 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); |