mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 13:38:34 +00:00
Merge pull request #29278 from bfredl/strcat
refactor(memory): use builtin strcat() instead of STRCAT()
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user