aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/usercmd.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/usercmd.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/usercmd.c')
-rw-r--r--src/nvim/usercmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/usercmd.c b/src/nvim/usercmd.c
index 7856fcd0ba..877624b07e 100644
--- a/src/nvim/usercmd.c
+++ b/src/nvim/usercmd.c
@@ -1274,9 +1274,9 @@ static size_t add_cmd_modifier(char *buf, char *mod_str, bool *multi_mods)
if (buf != NULL) {
if (*multi_mods) {
- STRCAT(buf, " ");
+ strcat(buf, " ");
}
- STRCAT(buf, mod_str);
+ strcat(buf, mod_str);
}
*multi_mods = true;