summaryrefslogtreecommitdiff
path: root/src/cmdexpand.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmdexpand.c')
-rw-r--r--src/cmdexpand.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cmdexpand.c b/src/cmdexpand.c
index 464dc96c1..b75903df9 100644
--- a/src/cmdexpand.c
+++ b/src/cmdexpand.c
@@ -1993,11 +1993,11 @@ ExpandFromContext(
#ifdef BACKSLASH_IN_FILENAME
if (p_csl[0] != NUL && (options & WILD_IGNORE_COMPLETESLASH) == 0)
{
- int i;
+ int j;
- for (i = 0; i < *num_file; ++i)
+ for (j = 0; j < *num_file; ++j)
{
- char_u *ptr = (*file)[i];
+ char_u *ptr = (*file)[j];
while (*ptr != NUL)
{