From 540864521e66589ff0ee7ed250e0a07f29fa0a34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Wed, 15 Jul 2020 09:21:39 +0200 Subject: [PATCH] selection: row->dirty is a boolean --- selection.c | 5 +++-- 1 file 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; }