mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
Fix missing tree view when userland threads are hidden
(thanks to Josh Stone)
This commit is contained in:
@ -563,9 +563,7 @@ static bool ProcessList_processEntries(ProcessList* this, char* dirname, Process
|
||||
process->pid = pid;
|
||||
}
|
||||
}
|
||||
if (parent) {
|
||||
process->tgid = parent->pid;
|
||||
}
|
||||
process->tgid = parent ? parent->pid : pid;
|
||||
|
||||
if (showUserlandThreads && (!parent || pid != parent->pid)) {
|
||||
char subdirname[MAX_NAME+1];
|
||||
|
Reference in New Issue
Block a user