--- 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; }