diff options
author | Benny Baumann <BenBE@geshi.org> | 2020-10-31 23:28:02 +0100 |
---|---|---|
committer | Benny Baumann <BenBE@geshi.org> | 2020-11-02 22:15:01 +0100 |
commit | 61e14d4bb25268593019e6df3eb02264b4ac8e0e (patch) | |
tree | 910b68d9a5ee1c4d25b2cf3ee24abaaf3e6a096b /ProcessList.c | |
parent | b23f8235e28472c410dcb00893e0e3d403892673 (diff) |
Spacing around operators
Diffstat (limited to 'ProcessList.c')
-rw-r--r-- | ProcessList.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ProcessList.c b/ProcessList.c index dac86cb8..ff4aa9b3 100644 --- a/ProcessList.c +++ b/ProcessList.c @@ -131,9 +131,9 @@ static void ProcessList_buildTree(ProcessList* this, pid_t pid, int level, int i Vector_add(this->processes2, process); else Vector_insert(this->processes2, 0, process); - assert(Vector_size(this->processes2) == s+1); (void)s; + assert(Vector_size(this->processes2) == s + 1); (void)s; int nextIndent = indent | (1 << level); - ProcessList_buildTree(this, process->pid, level+1, (i < size - 1) ? nextIndent : indent, direction, show ? process->showChildren : false); + ProcessList_buildTree(this, process->pid, level + 1, (i < size - 1) ? nextIndent : indent, direction, show ? process->showChildren : false); if (i == size - 1) process->indent = -nextIndent; else @@ -143,8 +143,8 @@ static void ProcessList_buildTree(ProcessList* this, pid_t pid, int level, int i } static long ProcessList_treeProcessCompare(const void* v1, const void* v2) { - const Process *p1 = (const Process*)v1; - const Process *p2 = (const Process*)v2; + const Process* p1 = (const Process*)v1; + const Process* p2 = (const Process*)v2; return p1->pid - p2->pid; } |