mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
Run alert hooks based on the options rather than unconditionally, from
Brad Town.
This commit is contained in:
@ -191,7 +191,7 @@ args_print(struct args *args)
|
||||
int
|
||||
args_has(struct args *args, u_char ch)
|
||||
{
|
||||
return (args_find(args, ch) == NULL ? 0 : 1);
|
||||
return (args_find(args, ch) != NULL);
|
||||
}
|
||||
|
||||
/* Set argument value in the arguments tree. */
|
||||
|
Reference in New Issue
Block a user