[gnome-chess] Another indentation fix
- From: Sahil Sareen <ssareen src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-chess] Another indentation fix
- Date: Sun, 8 Feb 2015 18:18:27 +0000 (UTC)
commit 3760a9c1c3d7550511949170cf3b5c97be5ba7c7
Author: Sahil Sareen <sahil sareen hotmail com>
Date: Sun Feb 8 23:46:09 2015 +0530
Another indentation fix
lib/chess-player.vala | 28 ++++++++++++++--------------
1 files changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/lib/chess-player.vala b/lib/chess-player.vala
index 42a33e0..ab15c7a 100644
--- a/lib/chess-player.vala
+++ b/lib/chess-player.vala
@@ -50,20 +50,20 @@ public class ChessPlayer : Object
switch (promotion_type)
{
- case PieceType.QUEEN:
- /* Default is queen so don't add anything */
- break;
- case PieceType.KNIGHT:
- move += "=N";
- break;
- case PieceType.ROOK:
- move += "=R";
- break;
- case PieceType.BISHOP:
- move += "=B";
- break;
- default:
- break;
+ case PieceType.QUEEN:
+ /* Default is queen so don't add anything */
+ break;
+ case PieceType.KNIGHT:
+ move += "=N";
+ break;
+ case PieceType.ROOK:
+ move += "=R"
+ break;
+ case PieceType.BISHOP:
+ move += "=B";
+ break;
+ default:
+ break;
}
return do_move (move, apply);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]