diff --git a/selection.c b/selection.c index f460607a..7b94a359 100644 --- a/selection.c +++ b/selection.c @@ -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; }