scrut(1): more formatting

This commit is contained in:
Emma Tebibyte 2024-07-12 16:18:48 -06:00
parent 59de0262bd
commit 958bfa52ed
Signed by untrusted user: emma
GPG Key ID: 06FA419A1698C270

View File

@ -59,10 +59,9 @@ int main(int argc, char *argv[]) {
/* straighten out ops */
for (i = 0, p = ops; i < (sizeof ops) / (sizeof *ops); ++i) {
if(ops[i] != '\0'){
if (ops[i] != '\0') {
*p = ops[i];
if(&ops[i] != p++)
ops[i] = '\0';
if (&ops[i] != p++) { ops[i] = '\0'; }
}
}