# HG changeset patch # User Mike Becker # Date 1779802140 -7200 # Node ID ce38ee9bc3afcf5be14b538270bc6364cf18179c # Parent 7258a46bf5ae85b1341edeb4819aa7dcd6ab3a28 do not consider empty move strings an invalid move - just ask again diff -r 7258a46bf5ae -r ce38ee9bc3af src/game.c --- a/src/game.c Tue May 26 15:21:42 2026 +0200 +++ b/src/game.c Tue May 26 15:29:00 2026 +0200 @@ -253,6 +253,8 @@ return 1; } else if (strncmp(movestr, "savepgn", MOVESTR_BUFLEN) == 0) { save_pgn(gamestate, gameinfo); + } else if (movestr[0] == 0) { + /* ignore empty move strings and ask again */ } else { Move move; int result = eval_move(gamestate, movestr, &move, curcolor); @@ -387,6 +389,8 @@ remis_rejected = true; } } + } else if (movestr[0] == 0) { + /* ignore empty move strings and ask again */ } else { Move move; int eval_result = eval_move(gamestate, movestr, &move, mycolor);