aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/formula.c
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2023-12-26 16:09:10 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2023-12-26 16:09:10 +0100
commit9658109c5839ea672182046f418d0a0b5c0c7d63 (patch)
treefed67a4a5707099a33bf7c6bd63327badca483e1 /FICS/formula.c
parent2c0d5eb0964124b3e8cae9775b07b3d60a9b3c6a (diff)
Reformatted ShowClauses()
Diffstat (limited to 'FICS/formula.c')
-rw-r--r--FICS/formula.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/FICS/formula.c b/FICS/formula.c
index 40fcbb2..843f1b5 100644
--- a/FICS/formula.c
+++ b/FICS/formula.c
@@ -582,14 +582,13 @@ int SetValidFormula (int p, int clause, char *string)
return (err == ERR_NONE);
}
-PUBLIC void ShowClauses (int p, int p1, textlist *clauses)
+PUBLIC void
+ShowClauses(int p, int p1, textlist *clauses)
{
- textlist *Cur;
-
- if (clauses != NULL)
- pprintf(p, "\n");
- for (Cur = clauses; Cur != NULL; Cur = Cur->next) {
- pprintf(p, "f%d=%s: %s\n", Cur->index + 1, Cur->text,
- parray[p1].formulaLines[Cur->index]);
- }
+ if (clauses != NULL)
+ pprintf(p, "\n");
+ for (textlist *Cur = clauses; Cur != NULL; Cur = Cur->next) {
+ pprintf(p, "f%d=%s: %s\n", (Cur->index + 1), Cur->text,
+ parray[p1].formulaLines[Cur->index]);
+ }
}