aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Edmund Lazo <janedmundlazo@hotmail.com>2018-08-06 11:23:12 -0400
committerJan Edmund Lazo <janedmundlazo@hotmail.com>2018-08-06 11:49:59 -0400
commit6bff0f7b60fc74e4ca618d7b6d5ad7b68b9b2066 (patch)
tree337af14be8dafabf689f4986ec36d0684712ab44 /src
parent96f165e74473b38ec98a7f1ec06a4056711bd904 (diff)
downloadrneovim-6bff0f7b60fc74e4ca618d7b6d5ad7b68b9b2066.tar.gz
rneovim-6bff0f7b60fc74e4ca618d7b6d5ad7b68b9b2066.tar.bz2
rneovim-6bff0f7b60fc74e4ca618d7b6d5ad7b68b9b2066.zip
edit: haveto_redraw (local variable) is bool
Diffstat (limited to 'src')
-rw-r--r--src/nvim/edit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/edit.c b/src/nvim/edit.c
index 261244ba58..a11609aa45 100644
--- a/src/nvim/edit.c
+++ b/src/nvim/edit.c
@@ -5367,7 +5367,7 @@ internal_format (
{
int cc;
int save_char = NUL;
- int haveto_redraw = FALSE;
+ bool haveto_redraw = false;
int fo_ins_blank = has_format_option(FO_INS_BLANK);
int fo_multibyte = has_format_option(FO_MBYTE_BREAK);
int fo_white_par = has_format_option(FO_WHITE_PAR);
@@ -5655,7 +5655,7 @@ internal_format (
curwin->w_cursor.col = len;
}
- haveto_redraw = TRUE;
+ haveto_redraw = true;
can_cindent = true;
// moved the cursor, don't autoindent or cindent now
did_ai = FALSE;