From 958bfa52ed3fab3b251bb350f98b76fe7ddaa486 Mon Sep 17 00:00:00 2001 From: emma Date: Fri, 12 Jul 2024 16:18:48 -0600 Subject: [PATCH] scrut(1): more formatting --- src/scrut.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/scrut.c b/src/scrut.c index f708eb5..a0ee93d 100644 --- a/src/scrut.c +++ b/src/scrut.c @@ -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'; } } }