From e9ed3025a8f891effdb03dc82dfd8dfc068b11e9 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sun, 26 Apr 2020 12:47:19 +0200 Subject: damage: remove 'scroll' sub struct There is no other types of damage but scroll damage. --- terminal.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'terminal.h') diff --git a/terminal.h b/terminal.h index dbca5290..7653daa3 100644 --- a/terminal.h +++ b/terminal.h @@ -73,11 +73,8 @@ enum damage_type {DAMAGE_SCROLL, DAMAGE_SCROLL_REVERSE, struct damage { enum damage_type type; - /* DAMAGE_SCROLL, DAMAGE_SCROLL_REVERSE */ - struct { - struct scroll_region region; - int lines; - } scroll; + struct scroll_region region; + int lines; }; struct row { -- cgit v1.3