diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-10-02 22:10:25 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-10-02 22:10:25 +0100 |
commit | 693729ae58bd30fc1a4c08042ebe9923b45f5763 (patch) | |
tree | 1e2464fe09e4be8d83647fbfc87f6ebfc9f83563 /src | |
parent | bbbda8fd81f6d720962b67ae885825bad9be4456 (diff) |
patch 9.0.0642: breakindent test failsv9.0.0642
Problem: Breakindent test fails.
Solution: Correct logic for resetting need_showbreak.
Diffstat (limited to 'src')
-rw-r--r-- | src/drawline.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/drawline.c b/src/drawline.c index ccfc8a49c1..79ce5140e9 100644 --- a/src/drawline.c +++ b/src/drawline.c @@ -541,7 +541,7 @@ handle_showbreak_and_filler(win_T *wp, winlinevars_T *wlv) wlv->c_extra = NUL; wlv->c_final = NUL; wlv->n_extra = (int)STRLEN(sbr); - if ((wp->w_skipcol == 0 && wlv->startrow == 0) || !wp->w_p_wrap) + if (wp->w_skipcol == 0 || wlv->startrow != 0 || !wp->w_p_wrap) wlv->need_showbreak = FALSE; wlv->vcol_sbr = wlv->vcol + MB_CHARLEN(sbr); // Correct end of highlighted area for 'showbreak', diff --git a/src/version.c b/src/version.c index 09f4757dcc..786a866bfd 100644 --- a/src/version.c +++ b/src/version.c @@ -700,6 +700,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 642, +/**/ 641, /**/ 640, |