summaryrefslogtreecommitdiffstats
path: root/src/insexpand.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2023-04-22 22:54:40 +0100
committerBram Moolenaar <Bram@vim.org>2023-04-22 22:54:40 +0100
commitf39d9e9dca443e42920066be3a98fd9780e4ed33 (patch)
treefc55b4f846fe60b7bb21613b26b796fba38eff1b /src/insexpand.c
parent71badf9547e8f89571b9a095183671cbb333d528 (diff)
patch 9.0.1479: small source file problems; outdated list of distrib. filesv9.0.1479
Problem: Small source file problems; outdated list of distributed files. Solution: Small updates to source files and list of distributed files.
Diffstat (limited to 'src/insexpand.c')
-rw-r--r--src/insexpand.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/insexpand.c b/src/insexpand.c
index 2737f2b51f..c20cb4f258 100644
--- a/src/insexpand.c
+++ b/src/insexpand.c
@@ -3001,7 +3001,7 @@ ins_compl_update_sequence_numbers(void)
if (compl_dir_forward())
{
- // search backwards for the first valid (!= -1) number.
+ // Search backwards for the first valid (!= -1) number.
// This should normally succeed already at the first loop
// cycle, so it's fast!
for (match = compl_curr_match->cp_prev; match != NULL
@@ -3012,8 +3012,7 @@ ins_compl_update_sequence_numbers(void)
break;
}
if (match != NULL)
- // go up and assign all numbers which are not assigned
- // yet
+ // go up and assign all numbers which are not assigned yet
for (match = match->cp_next;
match != NULL && match->cp_number == -1;
match = match->cp_next)
@@ -3021,7 +3020,7 @@ ins_compl_update_sequence_numbers(void)
}
else // BACKWARD
{
- // search forwards (upwards) for the first valid (!= -1)
+ // Search forwards (upwards) for the first valid (!= -1)
// number. This should normally succeed already at the
// first loop cycle, so it's fast!
for (match = compl_curr_match->cp_next; match != NULL
@@ -3032,8 +3031,7 @@ ins_compl_update_sequence_numbers(void)
break;
}
if (match != NULL)
- // go down and assign all numbers which are not
- // assigned yet
+ // go down and assign all numbers which are not assigned yet
for (match = match->cp_prev; match
&& match->cp_number == -1;
match = match->cp_prev)