From 6bff0f7b60fc74e4ca618d7b6d5ad7b68b9b2066 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Mon, 6 Aug 2018 11:23:12 -0400 Subject: [PATCH] edit: haveto_redraw (local variable) is bool --- src/nvim/edit.c | 4 ++-- 1 file 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;