summaryrefslogtreecommitdiffstats
path: root/src/version.c
diff options
context:
space:
mode:
authorDylan Thacker-Smith <dylan.ah.smith@gmail.com>2024-03-28 11:49:46 +0100
committerChristian Brabandt <cb@256bit.org>2024-03-28 11:51:10 +0100
commit1134fdd1b369119d0d6992e3120bb5f7c788b697 (patch)
tree7c1950fd1e4790b4f610b172261fd9b58ba2298e /src/version.c
parentfe0a76b2bca12b13982ad66bafadc0d6c1681d00 (diff)
patch 9.1.0223: code duplication in loop to add active text propertiesv9.1.0223
Problem: There are two dense conditions with duplication that needs to be kept in sync between the while loop break condition and the condition to skip certain text properties. Solution: Refactor the loop by moving while loop conditions into the body of the while loop so they can be shared with skip conditions. `break` and an `active` variable are used to handle the outcome of these merged conditions. (Dylan Thacker-Smith) closes: #14307 Signed-off-by: Dylan Thacker-Smith <dylan.ah.smith@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/version.c')
-rw-r--r--src/version.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/version.c b/src/version.c
index 3fcbb99811..7176d67b06 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 */
/**/
+ 223,
+/**/
222,
/**/
221,