Skip to content
Snippets Groups Projects
Commit 5967abb9 authored by Bram Moolenaar's avatar Bram Moolenaar
Browse files

updated for version 7.3.585

Problem:    Calling changed_bytes() too often.
Solution:   Move changed_bytes() out of a loop. (Tor Perkins)
parent 221d6872
No related branches found
Tags v7.3.585
No related merge requests found
......@@ -6350,10 +6350,8 @@ internal_format(textwidth, second_indent, flags, format_only, c)
* add the additional whitespace needed after the
* comment leader for the numbered list. */
for (i = 0; i < padding; i++)
{
ins_str((char_u *)" ");
changed_bytes(curwin->w_cursor.lnum, leader_len);
}
changed_bytes(curwin->w_cursor.lnum, leader_len);
}
else
{
......
......@@ -714,6 +714,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
585,
/**/
584,
/**/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment