diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2014-12-12 10:21:21 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2014-12-12 10:21:21 -0500 |
commit | c7292866043cc426d394aa6b586168dc2112daef (patch) | |
tree | 511b373d062a3064205b1cfd8005a8a61f24c4d6 /src/nvim/ex_getln.c | |
parent | d5741e512402b13f9b0f75e081bf1027e1c577f0 (diff) | |
parent | f8e3cfe220ab1e0293781720520b7844f5351bd4 (diff) | |
download | rneovim-c7292866043cc426d394aa6b586168dc2112daef.tar.gz rneovim-c7292866043cc426d394aa6b586168dc2112daef.tar.bz2 rneovim-c7292866043cc426d394aa6b586168dc2112daef.zip |
Merge pull request #1635 from danthedeckie/master
replace copy_spaces and copy_chars functions with equivalent memset.
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r-- | src/nvim/ex_getln.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c index d3051c5202..aed0484356 100644 --- a/src/nvim/ex_getln.c +++ b/src/nvim/ex_getln.c @@ -213,7 +213,7 @@ getcmdline ( /* autoindent for :insert and :append */ if (firstc <= 0) { - copy_spaces(ccline.cmdbuff, indent); + memset(ccline.cmdbuff, ' ', indent); ccline.cmdbuff[indent] = NUL; ccline.cmdpos = indent; ccline.cmdspos = indent; |