diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-01-13 00:35:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-13 07:35:39 +0800 |
commit | f2141de9e462ed8976b2a59337c32a0fcba2a11d (patch) | |
tree | 30de2ad03e5ed71bcff9fc29edde84322281b5bb /src/nvim/ex_cmds.c | |
parent | 2f1fd15554921dc2375c2ad136e727229e72348a (diff) | |
download | rneovim-f2141de9e462ed8976b2a59337c32a0fcba2a11d.tar.gz rneovim-f2141de9e462ed8976b2a59337c32a0fcba2a11d.tar.bz2 rneovim-f2141de9e462ed8976b2a59337c32a0fcba2a11d.zip |
refactor: replace char_u with char 20 (#21714)
refactor: replace char_u with char
Work on https://github.com/neovim/neovim/issues/459
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r-- | src/nvim/ex_cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c index 55d0651930..413a488283 100644 --- a/src/nvim/ex_cmds.c +++ b/src/nvim/ex_cmds.c @@ -1025,7 +1025,7 @@ void do_bang(int addr_count, exarg_T *eap, bool forceit, bool do_in, bool do_out // If % or # appears in the command, it must have been escaped. // Reescape them, so that redoing them does not substitute them by the // buffername. - char *cmd = (char *)vim_strsave_escaped((char_u *)prevcmd, (char_u *)"%#"); + char *cmd = vim_strsave_escaped(prevcmd, "%#"); AppendToRedobuffLit(cmd, -1); xfree(cmd); |