mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
updated for version 7.3.532
Problem: Compiler warning from Clang. Solution: Use a different way to point inside a string. (Dominique Pelle)
This commit is contained in:
@@ -9476,7 +9476,7 @@ highlight_list_two(cnt, attr)
|
||||
int cnt;
|
||||
int attr;
|
||||
{
|
||||
msg_puts_attr((char_u *)("N \bI \b! \b" + cnt / 11), attr);
|
||||
msg_puts_attr((char_u *)&("N \bI \b! \b"[cnt / 11]), attr);
|
||||
msg_clr_eos();
|
||||
out_flush();
|
||||
ui_delay(cnt == 99 ? 40L : (long)cnt * 50L, FALSE);
|
||||
|
@@ -714,6 +714,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
532,
|
||||
/**/
|
||||
531,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user