# HG changeset patch # User Bram Moolenaar # Date 1659287703 -7200 # Node ID a4dcf15f801480e9d0a0c109e04a8f5065a21d0c # Parent 0634e31bf2f6cb67afd335ad9512643f6e425f88 patch 9.0.0122: breakindent test fails Commit: https://github.com/vim/vim/commit/be33e5e4a979811df84e19995b94655128f31046 Author: Bram Moolenaar Date: Sun Jul 31 18:00:10 2022 +0100 patch 9.0.0122: breakindent test fails Problem: Breakindent test fails. Solution: Fix condition. diff --git a/src/charset.c b/src/charset.c --- 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); diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -736,6 +736,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 122, +/**/ 121, /**/ 120,