aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'FICS/board.c')
-rw-r--r--FICS/board.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/FICS/board.c b/FICS/board.c
index 2a123cb..0e5890e 100644
--- a/FICS/board.c
+++ b/FICS/board.c
@@ -131,21 +131,21 @@ PUBLIC void board_calc_strength(game_state_t *b, int *ws, int *bs)
}
}
-PRIVATE char *holding_str(int *holding)
+PRIVATE char *
+holding_str(int *holding)
{
- static char tmp[30];
- int p,i,j;
-
- i = 0;
- for (p = PAWN; p <= QUEEN; p++)
- {
- for (j = 0; j < holding[p-1]; j++)
- {
- tmp[i++] = wpstring[p][0];
- }
- }
- tmp[i] = '\0';
- return tmp;
+ int p, i, j;
+ static char tmp[30];
+
+ i = 0;
+
+ for (p = PAWN; p <= QUEEN; p++) {
+ for (j = 0; j < holding[p - 1]; j++)
+ tmp[i++] = wpstring[p][0];
+ }
+
+ tmp[i] = '\0';
+ return tmp;
}
PRIVATE char *