[gnome-chess] ChessState.get_fen() replaces all knights with kings
- From: Jason Clinton <jclinton src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-chess] ChessState.get_fen() replaces all knights with kings
- Date: Mon, 15 Apr 2013 04:20:32 +0000 (UTC)
commit 2a25e3e1a7f134236f91dacf943d710800dc1743
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
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]