diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2024-03-17 19:07:41 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2024-03-17 19:07:41 +0100 |
commit | 5706d1c44f9c0eaa7d073539e45ac38d032ce192 (patch) | |
tree | 34b4ec3dce29552c466da65fd28bb8293aea8bbf /FICS | |
parent | 29355ca6f150e55b25dba3fda7f5ce146798408a (diff) |
Reformatted add_pos()
Diffstat (limited to 'FICS')
-rw-r--r-- | FICS/movecheck.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/FICS/movecheck.c b/FICS/movecheck.c index cab73ac..3f08b18 100644 --- a/FICS/movecheck.c +++ b/FICS/movecheck.c @@ -333,11 +333,12 @@ PRIVATE int legal_king_move(game_state_t * gs, int ff, int fr, int tf, int tr) return 1; } -PRIVATE void add_pos(int tof, int tor, int *posf, int *posr, int *numpos) +PRIVATE void +add_pos(int tof, int tor, int *posf, int *posr, int *numpos) { - posf[*numpos] = tof; - posr[*numpos] = tor; - (*numpos)++; + posf[*numpos] = tof; + posr[*numpos] = tor; + (*numpos)++; } PRIVATE void |