Skip to content

Commit

Permalink
variant 11g (assume extra cell)
Browse files Browse the repository at this point in the history
  • Loading branch information
Explorer09 committed Apr 13, 2024
1 parent 9d9e4e9 commit e360368
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Meter.c
Original file line number Diff line number Diff line change
Expand Up @@ -778,8 +778,8 @@ static void GraphMeterMode_computeColors(Meter* this, const GraphDrawContext* co

if (y == 0 && adjSmall.nCells == 0) {
rItemHasExtraCell = true;
} else if (y + 1 >= nCellsToPaint) {
assert(y + 1 == nCellsToPaint);
} else if (y >= nCellsToPaint - 1) {
assert(y == nCellsToPaint - 1);
assert(adjSmall.nCells == 0);
assert(nCells == 0);
rItemHasExtraCell = false;
Expand Down

0 comments on commit e360368

Please sign in to comment.