fix broken height for All CPUs meter

This commit is contained in:
Hisham Muhammad 2011-05-26 16:22:50 +00:00
parent bd459776a4
commit 6382e03b68

View File

@ -132,7 +132,7 @@ static void AllCPUsMeter_init(Meter* this) {
meters[i] = Meter_new(this->pl, i+1, &CPUMeter);
meters[i]->type->init(meters[i]);
}
this->h = Meter_modes[this->mode]->h;
this->h = Meter_modes[this->mode]->h * cpus;
}
static void AllCPUsMeter_done(Meter* this) {