[gnome-chess/gnome-3-8] Fix figurine algebraic notation even better



commit 2a19ae30863f9ffe2e17150e3bc550e90010ca26
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 a2cda1a..8fc0950 100644
--- a/src/chess-game.vala
+++ b/src/chess-game.vala
@@ -201,8 +201,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]