From 8ede7a069419e0e01368c65a2d0c79d6332aa6cd Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Thu, 28 Mar 2024 10:30:08 +0100 Subject: patch 9.1.0218: Unnecessary multiplications in backspace code 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 Signed-off-by: Christian Brabandt --- src/version.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/version.c') diff --git a/src/version.c b/src/version.c index 3067d75f94..4523359d73 100644 --- a/src/version.c +++ b/src/version.c @@ -704,6 +704,10 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 218, +/**/ + 217, /**/ 216, /**/ -- cgit v1.2.3