aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/optionstr.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-09-06 20:38:26 +0200
committerGitHub <noreply@github.com>2022-09-06 20:38:26 +0200
commit74a8b5982a27cdccc6505343a9feeba1b3e74e31 (patch)
tree5e85d41e4115977863908fbcded226169b02ebd8 /src/nvim/optionstr.c
parent707edfc9e6a1745f268d1a9184183da521dc86b8 (diff)
parent73207cae611a1efb8cd17139e8228772daeb9866 (diff)
downloadrneovim-74a8b5982a27cdccc6505343a9feeba1b3e74e31.tar.gz
rneovim-74a8b5982a27cdccc6505343a9feeba1b3e74e31.tar.bz2
rneovim-74a8b5982a27cdccc6505343a9feeba1b3e74e31.zip
Merge pull request #20031 from dundargoc/refactor/char_u/8
refactor: replace char_u with char 8: remove `vim_strsave`
Diffstat (limited to 'src/nvim/optionstr.c')
-rw-r--r--src/nvim/optionstr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/optionstr.c b/src/nvim/optionstr.c
index c226966ef6..8581dae7a3 100644
--- a/src/nvim/optionstr.c
+++ b/src/nvim/optionstr.c
@@ -253,7 +253,7 @@ void check_buf_options(buf_T *buf)
/// Free the string allocated for an option.
/// Checks for the string being empty_option. This may happen if we're out of
-/// memory, vim_strsave() returned NULL, which was replaced by empty_option by
+/// memory, xstrdup() returned NULL, which was replaced by empty_option by
/// check_options().
/// Does NOT check for P_ALLOCED flag!
void free_string_option(char *p)