refactor: replace TRUE/FALSE macros with C99 true/false

This commit is contained in:
Dundar Göc
2021-07-23 15:25:35 +02:00
parent 192adfe99f
commit 11dcf15682
13 changed files with 31 additions and 38 deletions

View File

@@ -1340,7 +1340,7 @@ static int normal_check(VimState *state)
quit_more = false;
// If skip redraw is set (for ":" in wait_return()), don't redraw now.
// If there is nothing in the stuff_buffer or do_redraw is TRUE,
// If there is nothing in the stuff_buffer or do_redraw is true,
// update cursor and redraw.
if (skip_redraw || exmode_active) {
skip_redraw = false;
@@ -8147,10 +8147,8 @@ static void nv_event(cmdarg_T *cap)
}
}
/*
* Return TRUE when 'mousemodel' is set to "popup" or "popup_setpos".
*/
static int mouse_model_popup(void)
/// @return true when 'mousemodel' is set to "popup" or "popup_setpos".
static bool mouse_model_popup(void)
{
return p_mousem[0] == 'p';
}