diff --git a/Meter.c b/Meter.c index f1a097137..369e4fb8a 100644 --- a/Meter.c +++ b/Meter.c @@ -511,7 +511,7 @@ static uint16_t GraphMeterMode_makeDetailsMask(const GraphColorComputeState* pre // (1.0 - rem) will not round to 1.0. assert(rem <= 0.0 || rem >= (1.0 / UINT8_MAX)); - double maxBlanks = (1.0 - rem) * 8.0; + double maxBlanks = 8.0 - rem * 8.0; uint8_t blanksAtEnd; bool roundsUpInAscii = false;