Skip to content

Commit

Permalink
variant 12c
Browse files Browse the repository at this point in the history
This reverts commit 68ba867.
  • Loading branch information
Explorer09 committed Apr 13, 2024
1 parent 5a96f78 commit 3c265d1
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 @@ -780,8 +780,8 @@ static void GraphMeterMode_computeColors(Meter* this, const GraphDrawContext* co
if (prev.nCellsPainted == 0) {
assert(adjSmall.nCells == 0);
rItemHasExtraCell = true;
} else if (y >= nCellsToPaint - 1) {
assert(y == nCellsToPaint - 1);
} else if (y + 1 >= nCellsToPaint) {
assert(y + 1 == nCellsToPaint);
assert(adjSmall.nCells == 0);
assert(nCells == 0);
rItemHasExtraCell = false;
Expand Down

0 comments on commit 3c265d1

Please sign in to comment.