mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-15 22:05:24 -05:00
selection: row->dirty is a boolean
This commit is contained in:
parent
970a42a6dd
commit
540864521e
1 changed files with 3 additions and 2 deletions
|
|
@ -387,11 +387,12 @@ unmark_selected(struct terminal *term, struct row *row, struct cell *cell,
|
|||
return;
|
||||
}
|
||||
|
||||
row->dirty = 1;
|
||||
row->dirty = true;
|
||||
cell->attrs.selected = 0;
|
||||
cell->attrs.clean = 0;
|
||||
}
|
||||
|
||||
|
||||
static void
|
||||
premark_selected(struct terminal *term, struct row *row, struct cell *cell,
|
||||
int col, void *data)
|
||||
|
|
@ -409,7 +410,7 @@ mark_selected(struct terminal *term, struct row *row, struct cell *cell,
|
|||
return;
|
||||
}
|
||||
|
||||
row->dirty = 1;
|
||||
row->dirty = true;
|
||||
cell->attrs.selected = 1;
|
||||
cell->attrs.clean = 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue