diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-03-28 10:30:08 +0100 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-03-28 10:30:08 +0100 |
commit | 8ede7a069419e0e01368c65a2d0c79d6332aa6cd (patch) | |
tree | 8b6a70866e924d99d8710de10828fa42a78f13cf /src/version.c | |
parent | 2ca7d5f4831ce3d86cdc3f0c844fc50ea0deb7e5 (diff) |
patch 9.1.0218: Unnecessary multiplications in backspace codev9.1.0218
Problem: Unnecessary multiplications in backspace code, as
"col / ts * ts" is the same as "col - col % ts".
Solution: Change "col / ts * ts" to "col - col % ts". Adjust the loop
and the comments ins_bs() to be easier to understand. Update
tests to reset 'smarttab' properly.
(zeertzjq)
closes: #14308
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/version.c')
-rw-r--r-- | src/version.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/version.c b/src/version.c index 3067d75f94..4523359d73 100644 --- a/src/version.c +++ b/src/version.c @@ -705,6 +705,10 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 218, +/**/ + 217, +/**/ 216, /**/ 215, |