src/main.c

changeset 212
16a114c84ff5
parent 211
141813037e99
equal deleted inserted replaced
211:141813037e99 212:16a114c84ff5
1304 printw(":\n%s", pgn_error_str(result.code)); 1304 printw(":\n%s", pgn_error_str(result.code));
1305 if (result.code == pgn_error_move) { 1305 if (result.code == pgn_error_move) {
1306 addch(' '); 1306 addch(' ');
1307 eval_move_failed_msg(result.move_error); 1307 eval_move_failed_msg(result.move_error);
1308 } 1308 }
1309 printw("\n"); 1309 addch('\n');
1310 exitcode = EXIT_FAILURE; 1310 exitcode = EXIT_FAILURE;
1311 } 1311 }
1312 /* clear resignation and remis flags to allow game continuation */ 1312 /* clear resignation and remis flags to allow game continuation */
1313 gamestate.wresign = gamestate.bresign = gamestate.remis = false; 1313 gamestate.wresign = gamestate.bresign = gamestate.remis = false;
1314 } else { 1314 } else {

mercurial