mirror of
https://github.com/vim/vim.git
synced 2025-10-01 04:54:07 -04:00
patch 7.4.783
Problem: copy_chars() and copy_spaces() are inefficient. Solution: Use memset() instead. (Dominique Pelle)
This commit is contained in:
@@ -2833,7 +2833,7 @@ fill_foldcolumn(p, wp, closed, lnum)
|
||||
int fdc = compute_foldcolumn(wp, 0);
|
||||
|
||||
/* Init to all spaces. */
|
||||
copy_spaces(p, (size_t)fdc);
|
||||
vim_memset(p, ' ', (size_t)fdc);
|
||||
|
||||
level = win_foldinfo.fi_level;
|
||||
if (level > 0)
|
||||
|
Reference in New Issue
Block a user