[gnome-chess/gnome-3-10] Fix figurine algebraic notation even better
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-chess/gnome-3-10] Fix figurine algebraic notation even better
- Date: Wed, 8 Jan 2014 03:25:47 +0000 (UTC)
commit 8ae8a5c5d9bf4a344a21f3ba1bca55765e4da823
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Tue Jan 7 21:23:41 2014 -0600
Fix figurine algebraic notation even better
You'd think I would have noticed the colors were wrong when I fixed the
pieces. You'd think wrong!
src/chess-game.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/chess-game.vala b/src/chess-game.vala
index 21c41af..a8d8957 100644
--- a/src/chess-game.vala
+++ b/src/chess-game.vala
@@ -211,8 +211,8 @@ public class ChessMove
public string get_fan ()
{
- const string white_piece_names[] = {"", "♜", "♞", "♝", "♛", "♚"};
- const string black_piece_names[] = {"", "♖", "♘", "♗", "♕", "♔"};
+ const string white_piece_names[] = {"", "♖", "♘", "♗", "♕", "♔"};
+ const string black_piece_names[] = {"", "♜", "♞", "♝", "♛", "♚"};
if (piece.color == Color.WHITE)
return make_san ((string[]) white_piece_names);
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]