diff options
author | Dundar Göc <gocdundar@gmail.com> | 2021-07-23 15:25:35 +0200 |
---|---|---|
committer | Dundar Göc <gocdundar@gmail.com> | 2021-07-25 21:51:50 +0200 |
commit | 11dcf1568251f7e54f5ea28310e1d603de089eca (patch) | |
tree | defdc5456099598f76fca4e7988d0e33a495928f /src/nvim/normal.c | |
parent | 192adfe99f33778a85e11fbfdceb37f347a3d235 (diff) | |
download | rneovim-11dcf1568251f7e54f5ea28310e1d603de089eca.tar.gz rneovim-11dcf1568251f7e54f5ea28310e1d603de089eca.tar.bz2 rneovim-11dcf1568251f7e54f5ea28310e1d603de089eca.zip |
refactor: replace TRUE/FALSE macros with C99 true/false
Diffstat (limited to 'src/nvim/normal.c')
-rw-r--r-- | src/nvim/normal.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c index cba7b7a10b..4213e6f946 100644 --- a/src/nvim/normal.c +++ b/src/nvim/normal.c @@ -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'; } |