| 102 printw("Invalid PGN file content at position %ld:\n%s\n", |
102 printw("Invalid PGN file content at position %ld:\n%s\n", |
| 103 position, pgn_error_str(result)); |
103 position, pgn_error_str(result)); |
| 104 return 1; |
104 return 1; |
| 105 } |
105 } |
| 106 if (!is_game_running(&gamestate)) { |
106 if (!is_game_running(&gamestate)) { |
| 107 addstr("Game has ended. Use -S to analyze it.\n"); |
107 addstr("Game has ended. Use -s to analyze it locally.\n"); |
| 108 return 1; |
108 return 1; |
| 109 } |
109 } |
| 110 addch('\n'); |
110 addch('\n'); |
| 111 dump_moveinfo(&gamestate); |
111 dump_moveinfo(&gamestate); |
| 112 addch('\n'); |
112 addch('\n'); |