improve some comments - chess-puzzles - chess puzzle book generator
 (HTM) git clone git://git.codemadness.org/chess-puzzles
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit aba286b23210523ed76e012d608c3e09c65e9dad
 (DIR) parent d30b443f23a15ffab12f6a00931d979b9cfab061
 (HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       Date:   Sun,  9 Mar 2025 10:47:03 +0100
       
       improve some comments
       
       Diffstat:
         M fen.c                               |       4 ++--
       
       1 file changed, 2 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/fen.c b/fen.c
       @@ -786,7 +786,7 @@ isincheck(struct board *b, int side)
        }
        
        /* copy the board state and try the piece move, see if the piece wouldn't put
       -   the ourself in check */
       +   ourself in check */
        int
        trypiecemove(struct board *b, int side, int piece,
                     int x1, int y1, int x2, int y2, int px, int py)
       @@ -1164,7 +1164,7 @@ board_playmoves(struct board *b, const char *moves)
                        s += 2;
        
                        promote = 0;
       -                /* is a valid piece? should be queen, rook, bishop, knight (not validated exactly) */
       +                /* is a valid piece? should be queen, rook, bishop, knight */
                        if (isvalidpiece(*s)) {
                                if (side == 'w')
                                        promote = TOUPPER(*s);