Skip to content

Commit c8da80e

Browse files
committed
Merge remote-tracking branch 'vim/master'
2 parents 800be67 + 16ec3c9 commit c8da80e

2 files changed

Lines changed: 10 additions & 3 deletions

File tree

src/quickfix.c

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2593,9 +2593,14 @@ qf_msg(qf_info_T *qi, int which, char *lead)
25932593

25942594
if (title != NULL)
25952595
{
2596-
while (STRLEN(buf) < 34)
2597-
STRCAT(buf, " ");
2598-
vim_strcat(buf, title, IOSIZE);
2596+
size_t len = STRLEN(buf);
2597+
2598+
if (len < 34)
2599+
{
2600+
vim_memset(buf + len, ' ', 34 - len);
2601+
buf[34] = NUL;
2602+
}
2603+
vim_strcat(buf, (char_u *)title, IOSIZE);
25992604
}
26002605
trunc_string(buf, buf, Columns - 1, IOSIZE);
26012606
msg(buf);

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -773,6 +773,8 @@ static char *(features[]) =
773773

774774
static int included_patches[] =
775775
{ /* Add new patch number below this line */
776+
/**/
777+
2067,
776778
/**/
777779
2066,
778780
/**/

0 commit comments

Comments
 (0)