* Now shows non-existent parent PIDs

* build-and-clean script is now XP compatible

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@472 21ef857c-d57f-4fe0-8362-d861dc6d29cd
This commit is contained in:
wj32
2009-01-12 01:54:52 +00:00
parent ec62196d00
commit aecba9e703
7 changed files with 36 additions and 11 deletions
@@ -40,7 +40,7 @@ namespace ProcessHacker
ProcessNode itemNode = new ProcessNode(item);
// find this process' parent
if (_processes.ContainsKey(item.ParentPID))
if (item.HasParent && _processes.ContainsKey(item.ParentPID))
_processes[item.ParentPID].Children.Add(itemNode);
else
_roots.Add(itemNode);