diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2019-05-22 15:00:47 -0700 |
|---|---|---|
| committer | Scott Shawcroft <scott@tannewt.org> | 2019-05-22 15:00:47 -0700 |
| commit | 7a117f52ed81999261fae3d43dfeb572c5e9887e (patch) | |
| tree | 589df30738051b0a7515eea25499b50dd22ea52e /supervisor/shared | |
| parent | 3fad7de8db7f1f317ab6d00a00a82e406ec6fb33 (diff) | |
Make point 2 in areas exclusive and simplify full_coverage.
Diffstat (limited to 'supervisor/shared')
| -rw-r--r-- | supervisor/shared/display.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/supervisor/shared/display.c b/supervisor/shared/display.c index cfb9cc1d1..5eab74e16 100644 --- a/supervisor/shared/display.c +++ b/supervisor/shared/display.c @@ -70,8 +70,8 @@ void supervisor_start_terminal(uint16_t width_px, uint16_t height_px) { grid->width_in_tiles = width_in_tiles; grid->height_in_tiles = height_in_tiles; - grid->area.x2 = grid->area.x1 + width_in_tiles * grid->tile_width - 1; - grid->area.y2 = grid->area.y1 + height_in_tiles * grid->tile_height - 1; + grid->area.x2 = grid->area.x1 + width_in_tiles * grid->tile_width; + grid->area.y2 = grid->area.y1 + height_in_tiles * grid->tile_height; grid->tiles = tiles; supervisor_terminal.cursor_x = 0; |
