From d92bf07689558caa008c47128a7b3e4205a92121 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sat, 23 Dec 2023 20:45:14 +0100 Subject: Reformatted style7() --- FICS/board.c | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/FICS/board.c b/FICS/board.c index 633e524..412a4b1 100644 --- a/FICS/board.c +++ b/FICS/board.c @@ -450,21 +450,25 @@ PUBLIC int style6(game_state_t *b, move_t *ml) return genstyle(b, ml, wp, bp, wsqr, bsqr, top, mid, start, end, label, blabel); } -/* Miniature board */ -PUBLIC int style7(game_state_t *b, move_t *ml) +/* + * Miniature board + */ +PUBLIC int +style7(game_state_t *b, move_t *ml) { - static char *wp[] = {" ", " P", " N", " B", " R", " Q", " K"}; - static char *bp[] = {" -", " p", " n", " b", " r", " q", " k"}; - static char *wsqr = ""; - static char *bsqr = ""; - static char *top = "\t:::::::::::::::::::::\n"; - static char *mid = ""; - static char *start = ".."; - static char *end = " .."; - static char *label = "\t a b c d e f g h\n"; - static char *blabel = "\t h g f e d c b a\n"; - - return genstyle(b, ml, wp, bp, wsqr, bsqr, top, mid, start, end, label, blabel); + static char *wp[] = {" ", " P", " N", " B", " R", " Q", " K"}; + static char *bp[] = {" -", " p", " n", " b", " r", " q", " k"}; + static char *wsqr = ""; + static char *bsqr = ""; + static char *top = "\t:::::::::::::::::::::\n"; + static char *mid = ""; + static char *start = ".."; + static char *end = " .."; + static char *label = "\t a b c d e f g h\n"; + static char *blabel = "\t h g f e d c b a\n"; + + return genstyle(b, ml, wp, bp, wsqr, bsqr, top, mid, start, end, label, + blabel); } /* -- cgit v1.2.3