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

@ -61,8 +61,7 @@ int main(int argc, char *argv[]) {
for (i = 0, p = ops; i < (sizeof ops) / (sizeof *ops); ++i) { for (i = 0, p = ops; i < (sizeof ops) / (sizeof *ops); ++i) {
if (ops[i] != '\0') { if (ops[i] != '\0') {
*p = ops[i]; *p = ops[i];
if(&ops[i] != p++) if (&ops[i] != p++) { ops[i] = '\0'; }
ops[i] = '\0';
} }
} }