diff -r 7ba8a97a8b6e -r 3fa1de896666 src/game.c --- a/src/game.c Tue Aug 28 14:03:09 2018 +0200 +++ b/src/game.c Tue Aug 28 14:16:30 2018 +0200 @@ -499,7 +499,7 @@ if (pgnfile) { int result = read_pgn(pgnfile, &gamestate, &(settings->gameinfo)); fclose(pgnfile); - if (result != EXIT_SUCCESS) { + if (result) { addstr("Invalid PGN file content.\n"); return; }