diff --git a/Meter.c b/Meter.c index 7f33075e4..413346bb5 100644 --- a/Meter.c +++ b/Meter.c @@ -875,8 +875,8 @@ static void GraphMeterMode_computeColors(Meter* this, const GraphDrawContext* co } assert(threshold <= thresholdHigh); } else if (restart.nItemsPainted <= topCellItem && restart.valueSum < DBL_MAX) { - if (prev.nCellsPainted - adjSmall.nCells + adjLarge.nCells < nCellsToPaint) { -// (restart.nCellsPainted + rItemMinCells + adjLarge.nCells < nCellsToPaint) + if (restart.nCellsPainted + rItemMinCells + adjLarge.nCells < nCellsToPaint) { +// (prev.nCellsPainted - adjSmall.nCells + adjLarge.nCells < nCellsToPaint) rItemHasExtraCell = true; isLastTiebreak = true; } else if (prev.nCellsPainted >= nCellsToPaint) {