Commit 95822f32 authored by Explorer09's avatar Explorer09
Browse files

Fix prevItemSums[0] value error.

(Stupid me for forgetting to delete the line when changing code in commit 5c18866e )
parent a94b0466
......@@ -421,7 +421,6 @@ static void GraphMeterMode_draw(Meter* this, int x, int y, int w) {
double *prevItemSums = data->prevItemSums;
double *currentItemSums = data->currentItemSums;
currentItemSums[0] = this->values[0];
for (int i = 0; i < items; i++) {
prevItemSums[i] = currentItemSums[i];
currentItemSums[i] = ((i > 0) ? currentItemSums[i-1] : 0.0) + this->values[i];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment