mirror of
https://github.com/xzeldon/htop.git
synced 2025-01-31 09:07:25 +03:00
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…
x
Reference in New Issue
Block a user