edit: haveto_redraw (local variable) is bool

This commit is contained in:
Jan Edmund Lazo 2018-08-06 11:23:12 -04:00
parent 96f165e744
commit 6bff0f7b60

View File

@ -5367,7 +5367,7 @@ internal_format (
{ {
int cc; int cc;
int save_char = NUL; int save_char = NUL;
int haveto_redraw = FALSE; bool haveto_redraw = false;
int fo_ins_blank = has_format_option(FO_INS_BLANK); int fo_ins_blank = has_format_option(FO_INS_BLANK);
int fo_multibyte = has_format_option(FO_MBYTE_BREAK); int fo_multibyte = has_format_option(FO_MBYTE_BREAK);
int fo_white_par = has_format_option(FO_WHITE_PAR); int fo_white_par = has_format_option(FO_WHITE_PAR);
@ -5655,7 +5655,7 @@ internal_format (
curwin->w_cursor.col = len; curwin->w_cursor.col = len;
} }
haveto_redraw = TRUE; haveto_redraw = true;
can_cindent = true; can_cindent = true;
// moved the cursor, don't autoindent or cindent now // moved the cursor, don't autoindent or cindent now
did_ai = FALSE; did_ai = FALSE;