mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 06:58:35 +00:00
refactor: replace TRUE/FALSE macros with C99 true/false
This commit is contained in:
@@ -115,10 +115,10 @@ static void sign_group_unref(char_u *groupname)
|
||||
}
|
||||
}
|
||||
|
||||
/// Returns TRUE if 'sign' is in 'group'.
|
||||
/// @return true if 'sign' is in 'group'.
|
||||
/// A sign can either be in the global group (sign->group == NULL)
|
||||
/// or in a named group. If 'group' is '*', then the sign is part of the group.
|
||||
int sign_in_group(sign_entry_T *sign, const char_u *group)
|
||||
bool sign_in_group(sign_entry_T *sign, const char_u *group)
|
||||
{
|
||||
return ((group != NULL && STRCMP(group, "*") == 0)
|
||||
|| (group == NULL && sign->se_group == NULL)
|
||||
|
Reference in New Issue
Block a user