mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
Widen ST_UID (UID) column to 5 chars to allow UIDs > 9999 without breaking alignment
Issue Github #841, Debian bug #910492
This commit is contained in:
@ -466,7 +466,7 @@ void Process_writeField(Process* this, RichString* str, ProcessField field) {
|
||||
}
|
||||
break;
|
||||
}
|
||||
case ST_UID: xSnprintf(buffer, n, "%4d ", this->st_uid); break;
|
||||
case ST_UID: xSnprintf(buffer, n, "%5d ", this->st_uid); break;
|
||||
case TIME: Process_printTime(str, this->time); return;
|
||||
case TGID: xSnprintf(buffer, n, Process_pidFormat, this->tgid); break;
|
||||
case TPGID: xSnprintf(buffer, n, Process_pidFormat, this->tpgid); break;
|
||||
|
Reference in New Issue
Block a user