scrut(1): more formatting
This commit is contained in:
parent
59de0262bd
commit
958bfa52ed
@ -59,10 +59,9 @@ int main(int argc, char *argv[]) {
|
|||||||
|
|
||||||
/* straighten out ops */
|
/* straighten out ops */
|
||||||
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';
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user