aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/cmdexpand.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2024-06-11 19:21:50 +0200
committerGitHub <noreply@github.com>2024-06-11 19:21:50 +0200
commit39d8651283c0458c20b755d2140c8a3cb7b581c5 (patch)
treee023eb5f914c1928bc885093db9fd6d952c65d7d /src/nvim/cmdexpand.c
parentc37695a5d5f2e8914fff86f3581bed70b4c85d3c (diff)
parentbbd2f340a2895ed59785f952b2585e6590602cad (diff)
downloadrneovim-39d8651283c0458c20b755d2140c8a3cb7b581c5.tar.gz
rneovim-39d8651283c0458c20b755d2140c8a3cb7b581c5.tar.bz2
rneovim-39d8651283c0458c20b755d2140c8a3cb7b581c5.zip
Merge pull request #29278 from bfredl/strcat
refactor(memory): use builtin strcat() instead of STRCAT()
Diffstat (limited to 'src/nvim/cmdexpand.c')
-rw-r--r--src/nvim/cmdexpand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/cmdexpand.c b/src/nvim/cmdexpand.c
index d8081ddfac..fdb452aee4 100644
--- a/src/nvim/cmdexpand.c
+++ b/src/nvim/cmdexpand.c
@@ -3257,7 +3257,7 @@ void globpath(char *path, char *file, garray_T *ga, int expand_options, bool dir
copy_option_part(&path, buf, MAXPATHL, ",");
if (strlen(buf) + strlen(file) + 2 < MAXPATHL) {
add_pathsep(buf);
- STRCAT(buf, file);
+ strcat(buf, file);
char **p;
int num_p = 0;