forked from aniani/vim
patch 9.1.0828: string_T struct could be used more often
Problem: string_T struct could be used more often Solution: Refactor code and make use of string_T struct for key-value pairs, reformat overlong lines (John Marriott) closes: #15975 Signed-off-by: John Marriott <basilisk@internode.on.net> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
f1d83c4c71
commit
8d4477ef22
@@ -4066,7 +4066,7 @@ syn_list_flags(keyvalue_T *nlist, int nr_entries, int flags, int attr)
|
||||
for (i = 0; i < nr_entries; ++i)
|
||||
if (flags & nlist[i].key)
|
||||
{
|
||||
msg_puts_attr(nlist[i].value, attr);
|
||||
msg_puts_attr((char *)nlist[i].value.string, attr);
|
||||
msg_putchar(' ');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user