diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-03-28 10:04:25 +0100 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-03-28 10:04:25 +0100 |
commit | 5532d3b3f0c73d4e0fa07122ebbed3bf201870f9 (patch) | |
tree | e1d340791c5d305a583b33e03592472e11daf967 /src | |
parent | b2e1fee72c456bdb2f14bd12e4c06887743ae3a2 (diff) |
patch 9.1.0214: Duplicate condition in win_lbr_chartabsize()v9.1.0214
Problem: Duplicate condition in win_lbr_chartabsize().
Solution: Remove the duplicate condition, as it's already checked above.
(zeertzjq)
closes: #14320
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/charset.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/charset.c b/src/charset.c index c9584a90f7..470698f0e0 100644 --- a/src/charset.c +++ b/src/charset.c @@ -1357,7 +1357,7 @@ win_lbr_chartabsize( cts->cts_bri_size = get_breakindent_win(wp, line); head_mid += cts->cts_bri_size; } - if (head_mid > 0 && wcol + size > wp->w_width) + if (head_mid > 0) { // Calculate effective window width. int prev_rem = wp->w_width - wcol; diff --git a/src/version.c b/src/version.c index 5383d51514..e8b478d956 100644 --- 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 */ /**/ + 214, +/**/ 213, /**/ 212, |