Fix T78146: Crash using scroll bars

Regression in 2fdca5bd19
This commit is contained in:
2020-06-23 15:21:30 +10:00
parent 374e412813
commit ed68fee665
2 changed files with 7 additions and 2 deletions

View File

@@ -1408,8 +1408,10 @@ struct View2DScrollers {
int vert_min, vert_max; /* vertical scrollbar */
int hor_min, hor_max; /* horizontal scrollbar */
rcti hor, vert; /* exact size of slider backdrop */
int horfull, vertfull; /* set if sliders are full, we don't draw them */
/** Exact size of slider backdrop. */
rcti hor, vert;
/* set if sliders are full, we don't draw them */
/* int horfull, vertfull; */ /* UNUSED */
};
/* Calculate relevant scroller properties */