damage: remove 'scroll' sub struct

There is no other types of damage but scroll damage.
This commit is contained in:
Daniel Eklöf 2020-04-26 12:47:19 +02:00
parent ce280537de
commit e9ed3025a8
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 32 additions and 34 deletions

View file

@ -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 {