aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_getln.c
diff options
context:
space:
mode:
authorDaniel Fairhead <daniel.fairhead@om.org>2014-12-10 07:34:59 +0000
committerDaniel Fairhead <daniel.fairhead@om.org>2014-12-12 08:11:47 +0000
commitf8e3cfe220ab1e0293781720520b7844f5351bd4 (patch)
tree9c200904a38af1536a2566663b3e135430e5ba44 /src/nvim/ex_getln.c
parentb11ada1aba4c6d15128446b9669b5993ce937d11 (diff)
downloadrneovim-f8e3cfe220ab1e0293781720520b7844f5351bd4.tar.gz
rneovim-f8e3cfe220ab1e0293781720520b7844f5351bd4.tar.bz2
rneovim-f8e3cfe220ab1e0293781720520b7844f5351bd4.zip
strings.c: replace copy_spaces, copy_chars with equivalent memset.
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r--src/nvim/ex_getln.c2
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;