mirror of
https://github.com/vim/vim.git
synced 2025-09-30 04:44:14 -04:00
patch 9.0.0122: breakindent test fails
Problem: Breakindent test fails. Solution: Fix condition.
This commit is contained in:
@@ -771,7 +771,7 @@ win_linetabsize(win_T *wp, linenr_T lnum, char_u *line, colnr_T len)
|
|||||||
chartabsize_T cts;
|
chartabsize_T cts;
|
||||||
|
|
||||||
init_chartabsize_arg(&cts, wp, lnum, 0, line, line);
|
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);
|
for ( ; *cts.cts_ptr != NUL && (len == MAXCOL || cts.cts_ptr < line + len);
|
||||||
MB_PTR_ADV(cts.cts_ptr))
|
MB_PTR_ADV(cts.cts_ptr))
|
||||||
cts.cts_vcol += win_lbr_chartabsize(&cts, NULL);
|
cts.cts_vcol += win_lbr_chartabsize(&cts, NULL);
|
||||||
|
@@ -735,6 +735,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
122,
|
||||||
/**/
|
/**/
|
||||||
121,
|
121,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user