aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'FICS/board.c')
-rw-r--r--FICS/board.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/FICS/board.c b/FICS/board.c
index 8e23ac8..c65ee19 100644
--- a/FICS/board.c
+++ b/FICS/board.c
@@ -164,15 +164,16 @@ PRIVATE char *append_holding_machine(char *buf, int g, int c, int p)
return buf;
}
-PRIVATE char *append_holding_display(char *buf, game_state_t *gs, int white)
+PRIVATE char *
+append_holding_display(char *buf, game_state_t *gs, int white)
{
- if (white)
- strcat(buf, "White holding: [");
- else
- strcat(buf, "Black holding: [");
- strcat(buf, holding_str(gs->holding[white ? 0 : 1]));
- strcat(buf, "]\n");
- return buf;
+ if (white)
+ strcat(buf, "White holding: [");
+ else
+ strcat(buf, "Black holding: [");
+ strcat(buf, holding_str(gs->holding[white ? 0 : 1]));
+ strcat(buf, "]\n");
+ return buf;
}
PUBLIC void