Skip to content

Commit 791d28e

Browse files
committed
adding braces improving code quality
1 parent b914fdb commit 791d28e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Meter.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ static void BarMeterMode_draw(Meter* this, int x, int y, int w) {
130130
double value = this->values[i];
131131
if (isPositive(value) && this->total > 0.0) {
132132
value = MINIMUM(value, this->total);
133-
actualBarWidth = ((value / this->total) * w);
133+
actualBarWidth = (value / this->total) * w;
134134
blockSizes[i] = ceil(actualBarWidth);
135135
} else {
136136
blockSizes[i] = 0;

0 commit comments

Comments
 (0)