diff options
author | bfredl <bjorn.linse@gmail.com> | 2024-06-11 19:21:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-11 19:21:50 +0200 |
commit | 39d8651283c0458c20b755d2140c8a3cb7b581c5 (patch) | |
tree | e023eb5f914c1928bc885093db9fd6d952c65d7d /src/nvim/option.c | |
parent | c37695a5d5f2e8914fff86f3581bed70b4c85d3c (diff) | |
parent | bbd2f340a2895ed59785f952b2585e6590602cad (diff) | |
download | rneovim-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/option.c')
-rw-r--r-- | src/nvim/option.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c index a07fc16847..4c68e2bf16 100644 --- a/src/nvim/option.c +++ b/src/nvim/option.c @@ -236,11 +236,11 @@ static void set_init_default_backupskip(void) == NULL) { ga_grow(&ga, (int)len); if (!GA_EMPTY(&ga)) { - STRCAT(ga.ga_data, ","); + strcat(ga.ga_data, ","); } - STRCAT(ga.ga_data, p); + strcat(ga.ga_data, p); add_pathsep(ga.ga_data); - STRCAT(ga.ga_data, "*"); + strcat(ga.ga_data, "*"); ga.ga_len += (int)len; } xfree(item); |