mirror of https://github.com/xzeldon/htop.git
Realign display of text-mode CPU meters. Closes #3369526.
This commit is contained in:
parent
11092662ee
commit
03322b62ec
|
@ -33,7 +33,7 @@ static void CPUMeter_init(Meter* this) {
|
||||||
int cpu = this->param;
|
int cpu = this->param;
|
||||||
if (this->pl->cpuCount > 1) {
|
if (this->pl->cpuCount > 1) {
|
||||||
char caption[10];
|
char caption[10];
|
||||||
sprintf(caption, "%-3d ", ProcessList_cpuId(this->pl, cpu));
|
sprintf(caption, "%-3d", ProcessList_cpuId(this->pl, cpu));
|
||||||
Meter_setCaption(this, caption);
|
Meter_setCaption(this, caption);
|
||||||
}
|
}
|
||||||
if (this->param == 0)
|
if (this->param == 0)
|
||||||
|
|
Loading…
Reference in New Issue