summaryrefslogtreecommitdiffstats
path: root/src/testdir
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/testdir
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/testdir')
0 files changed, 0 insertions, 0 deletions