# HG changeset patch # User Christian Brabandt # Date 1697276703 -7200 # Node ID a319d4aa6b53ab0e17f21ac95b91b7f43a89ebd1 # Parent a83a02b16d8d6a0311b7fad1af73560d797f853e patch 9.0.2021: Coverity complains about change in charset Commit: https://github.com/vim/vim/commit/cd6ee6935811ab223605a3f39a550d26a617867d Author: Christian Brabandt Date: Sat Oct 14 11:29:28 2023 +0200 patch 9.0.2021: Coverity complains about change in charset Problem: Coverity complains about change in charset (after v9.0.2017) Solution: check pointer t at index 0 closes: #13322 Signed-off-by: Christian Brabandt diff --git a/src/charset.c b/src/charset.c --- a/src/charset.c +++ b/src/charset.c @@ -1348,7 +1348,7 @@ win_lbr_chartabsize( if (wp->w_p_lbr && wp->w_p_wrap && wp->w_width != 0) { char_u *t = cts->cts_line; - while (VIM_ISBREAK((int)*t)) + while (VIM_ISBREAK((int)t[0])) t++; vcol_start = t - cts->cts_line; } diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -705,6 +705,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2021, +/**/ 2020, /**/ 2019,