src/main.c

changeset 195
27d02ccb0cef
parent 194
619f07c95894
equal deleted inserted replaced
194:619f07c95894 195:27d02ccb0cef
284 mvaddstr(0, 0, gamestate->fen[gamestate->movecount - 1]); 284 mvaddstr(0, 0, gamestate->fen[gamestate->movecount - 1]);
285 } 285 }
286 286
287 for (Rank y = 0 ; y < 8 ; y++) { 287 for (Rank y = 0 ; y < 8 ; y++) {
288 for (File x = 0 ; x < 8 ; x++) { 288 for (File x = 0 ; x < 8 ; x++) {
289 Piece piece = piece_at(gamestate, y, x); 289 Piece piece = piece_at(gamestate, x, y);
290 Color col = piece_color(piece); 290 Color col = piece_color(piece);
291 291
292 char piecestr[5]; 292 char piecestr[5];
293 if (piece) { 293 if (piece) {
294 if (settings.unicode) { 294 if (settings.unicode) {

mercurial