mirror of https://github.com/xzeldon/htop.git
align cpu id to right
This commit is contained in:
parent
d2b3a7a375
commit
f805093589
|
@ -24,7 +24,7 @@ static void CPUMeter_init(Meter* this) {
|
|||
int cpu = this->param;
|
||||
if (this->pl->cpuCount > 1) {
|
||||
char caption[10];
|
||||
xSnprintf(caption, sizeof(caption), "%-3d", Settings_cpuId(this->pl->settings, cpu - 1));
|
||||
xSnprintf(caption, sizeof(caption), "%3d", Settings_cpuId(this->pl->settings, cpu - 1));
|
||||
Meter_setCaption(this, caption);
|
||||
}
|
||||
if (this->param == 0)
|
||||
|
|
Loading…
Reference in New Issue