refactor: use bool to represent boolean values

This commit is contained in:
dundargoc
2023-12-16 22:14:28 +01:00
committed by dundargoc
parent 693aea0e9e
commit 7f6b775b45
49 changed files with 175 additions and 186 deletions

View File

@@ -919,7 +919,7 @@ void win_grid_alloc(win_T *wp)
wp->w_lines = xcalloc((size_t)rows + 1, sizeof(wline_T));
}
int was_resized = false;
bool was_resized = false;
if (want_allocation && (!has_allocation
|| grid_allocated->rows != total_rows
|| grid_allocated->cols != total_cols)) {