mirror of
https://github.com/neovim/neovim.git
synced 2025-10-03 16:36:30 +00:00
refactor: replace char_u with char 20 (#21714)
refactor: replace char_u with char Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user