mirror of https://github.com/xzeldon/htop.git
fix broken height for All CPUs meter
This commit is contained in:
parent
bd459776a4
commit
6382e03b68
|
@ -132,7 +132,7 @@ static void AllCPUsMeter_init(Meter* this) {
|
||||||
meters[i] = Meter_new(this->pl, i+1, &CPUMeter);
|
meters[i] = Meter_new(this->pl, i+1, &CPUMeter);
|
||||||
meters[i]->type->init(meters[i]);
|
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) {
|
static void AllCPUsMeter_done(Meter* this) {
|
||||||
|
|
Loading…
Reference in New Issue