mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-24 01:40:12 -05:00
damage: remove 'scroll' sub struct
There is no other types of damage but scroll damage.
This commit is contained in:
parent
ce280537de
commit
e9ed3025a8
3 changed files with 32 additions and 34 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue