Wed, 04 Jun 2025 23:58:05 +0200
fix incorrect error value when a move string is too long in a PGN
--- a/src/chess/pgn.c Wed Jun 04 23:56:40 2025 +0200 +++ b/src/chess/pgn.c Wed Jun 04 23:58:05 2025 +0200 @@ -116,7 +116,7 @@ do { movestr[i++] = c; if (i >= 10) { - return 1; + return pgn_error_move_syntax; } } while (!isspace(c = fgetc(stream))); movestr[i] = '\0';