Whitespace around operators

This commit is contained in:
Benny Baumann
2021-07-14 19:18:27 +02:00
committed by BenBE
parent 458749df45
commit 0d85af2872
12 changed files with 34 additions and 34 deletions

View File

@ -182,8 +182,8 @@ static void NetBSDProcessList_updateProcessName(kvm_t* kd, const struct kinfo_pr
end = MINIMUM(n, len - 1);
/* check if cmdline ended earlier, e.g 'kdeinit5: Running...' */
for (int j = end; j > 0; j--) {
if (arg[0][j] == ' ' && arg[0][j-1] != '\\') {
end = (arg[0][j-1] == ':') ? (j-1) : j;
if (arg[0][j] == ' ' && arg[0][j - 1] != '\\') {
end = (arg[0][j - 1] == ':') ? (j - 1) : j;
}
}
}