strings.c: replace copy_spaces, copy_chars with equivalent memset.

This commit is contained in:
Daniel Fairhead
2014-12-10 07:34:59 +00:00
parent b11ada1aba
commit f8e3cfe220
4 changed files with 18 additions and 45 deletions

View File

@@ -2139,7 +2139,7 @@ fill_foldcolumn (
int empty;
/* Init to all spaces. */
copy_spaces(p, (size_t)wp->w_p_fdc);
memset(p, ' ', (size_t)wp->w_p_fdc);
level = win_foldinfo.fi_level;
if (level > 0) {