aboutsummaryrefslogtreecommitdiff
path: root/selection.c
diff options
context:
space:
mode:
Diffstat (limited to 'selection.c')
-rw-r--r--selection.c5
1 files changed, 3 insertions, 2 deletions
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;
}