aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/tag.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/nvim/tag.c b/src/nvim/tag.c
index 98a1eeee8a..81af23f911 100644
--- a/src/nvim/tag.c
+++ b/src/nvim/tag.c
@@ -2044,9 +2044,10 @@ get_tagfname (
return FAIL; // avoid duplicate file names
}
}
- } else
- STRLCPY(buf, ((char_u **)(tag_fnames.ga_data))[
- tnp->tn_hf_idx++], MAXPATHL);
+ } else {
+ STRLCPY(buf, ((char_u **)(tag_fnames.ga_data))[tnp->tn_hf_idx++],
+ MAXPATHL);
+ }
return OK;
}