mirror of https://github.com/xzeldon/htop.git
Merge branch 'master' of https://github.com/hishamhm/htop
This commit is contained in:
commit
823481ae22
|
@ -429,7 +429,7 @@ void Process_writeField(Process* this, RichString* str, ProcessField field) {
|
||||||
case PID: snprintf(buffer, n, Process_pidFormat, this->pid); break;
|
case PID: snprintf(buffer, n, Process_pidFormat, this->pid); break;
|
||||||
case PPID: snprintf(buffer, n, Process_pidFormat, this->ppid); break;
|
case PPID: snprintf(buffer, n, Process_pidFormat, this->ppid); break;
|
||||||
case PRIORITY: {
|
case PRIORITY: {
|
||||||
if(this->priority == -100)
|
if(this->priority <= -100)
|
||||||
snprintf(buffer, n, " RT ");
|
snprintf(buffer, n, " RT ");
|
||||||
else
|
else
|
||||||
snprintf(buffer, n, "%3ld ", this->priority);
|
snprintf(buffer, n, "%3ld ", this->priority);
|
||||||
|
|
Loading…
Reference in New Issue