diff options
author | Daniel Flanagan <daniel@lytedev.io> | 2019-10-31 11:39:12 -0500 |
---|---|---|
committer | Daniel Flanagan <daniel@lytedev.io> | 2019-10-31 11:39:12 -0500 |
commit | dd33444f7eace81115308eadb568020470c48b2b (patch) | |
tree | b13c2a7f17cc64458016d396829e95ef5cea9294 /ProcessList.c | |
parent | 28840683cfc5d48307b9b0f382f55f8c84d6a0c4 (diff) |
Clean up existing whitespace
Diffstat (limited to 'ProcessList.c')
-rw-r--r-- | ProcessList.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ProcessList.c b/ProcessList.c index 7482b037..edbc114c 100644 --- a/ProcessList.c +++ b/ProcessList.c @@ -84,10 +84,10 @@ ProcessList* ProcessList_init(ProcessList* this, ObjectClass* klass, UsersTable* this->usersTable = usersTable; this->pidWhiteList = pidWhiteList; this->userId = userId; - + // tree-view auxiliary buffer this->processes2 = Vector_new(klass, true, DEFAULT_SIZE); - + // set later by platform-specific code this->cpuCount = 0; @@ -138,10 +138,10 @@ void ProcessList_printHeader(ProcessList* this, RichString* header) { void ProcessList_add(ProcessList* this, Process* p) { assert(Vector_indexOf(this->processes, p, Process_pidCompare) == -1); assert(Hashtable_get(this->processTable, p->pid) == NULL); - + Vector_add(this->processes, p); Hashtable_put(this->processTable, p->pid, p); - + assert(Vector_indexOf(this->processes, p, Process_pidCompare) != -1); assert(Hashtable_get(this->processTable, p->pid) != NULL); assert(Hashtable_count(this->processTable) == Vector_count(this->processes)); @@ -353,7 +353,7 @@ void ProcessList_scan(ProcessList* this) { this->runningTasks = 0; ProcessList_goThroughEntries(this); - + for (int i = Vector_size(this->processes) - 1; i >= 0; i--) { Process* p = (Process*) Vector_get(this->processes, i); if (p->updated == false) |