1
0
forked from aniani/vim

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:
Bram Moolenaar
2012-06-01 13:18:53 +02:00
parent ae084bb97c
commit 112f318551
2 changed files with 3 additions and 1 deletions

View File

@@ -9476,7 +9476,7 @@ highlight_list_two(cnt, attr)
int cnt; int cnt;
int attr; 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(); msg_clr_eos();
out_flush(); out_flush();
ui_delay(cnt == 99 ? 40L : (long)cnt * 50L, FALSE); ui_delay(cnt == 99 ? 40L : (long)cnt * 50L, FALSE);

View File

@@ -714,6 +714,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
532,
/**/ /**/
531, 531,
/**/ /**/