1
0
forked from aniani/vim

patch 8.0.0772: other stdbool.h dependencies in libvterm

Problem:    Other stdbool.h dependencies in libvterm.
Solution:   Remove the dependency and use TRUE/FALSE/int. (Ken Takata)
This commit is contained in:
Bram Moolenaar
2017-07-25 21:34:46 +02:00
parent 1c84493bbe
commit b2a76ec06b
6 changed files with 19 additions and 13 deletions

View File

@@ -351,7 +351,7 @@ static int screen_damage(VTermRect rect, void *user)
rect.start_row, rect.end_row, rect.start_col, rect.end_col);
if(want_screen_damage_cells) {
bool equals = false;
int equals = FALSE;
int row;
int col;
@@ -373,7 +373,7 @@ static int screen_damage(VTermRect rect, void *user)
break;
if(!equals)
printf(" ="), equals = true;
printf(" ="), equals = TRUE;
printf(" %d<", row);
for(col = rect.start_col; col < eol; col++) {