[gnome-chess/gnome-3-8] ChessState.get_fen() replaces all knights with kings



commit 044a784a240df92da0fcf5993f1eac2c18dc8041
Author: Michael Catanzaro <mike catanzaro gmail com>
Date:   Wed Jan 2 23:14:48 2013 -0600

    ChessState.get_fen() replaces all knights with kings
    
    https://bugzilla.gnome.org/show_bug.cgi?id=691050
    (cherry picked from commit 2a25e3e1a7f134236f91dacf943d710800dc1743)

 src/chess-game.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/chess-game.vala b/src/chess-game.vala
index c3b7d78..96c01e7 100644
--- a/src/chess-game.vala
+++ b/src/chess-game.vala
@@ -103,7 +103,7 @@ public class ChessPiece
                 c = 'r';
                 break;
             case PieceType.KNIGHT:
-                c = 'k';
+                c = 'n';
                 break;
             case PieceType.BISHOP:
                 c = 'b';


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]