diff options
author | William Wilgus <me.theuser@yahoo.com> | 2017-01-31 01:07:47 +0100 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2017-01-31 01:09:23 +0100 |
commit | 37522ec63ae8fd2f88a66ed3d7020ebe95e9980e (patch) | |
tree | d2091480782de19368d4f03e6933c3b586e2c680 /apps/plugins/chessbox/chessbox_pgn.c | |
parent | 324ad2483aa8c64c7c4d38e00f190d3a72c16d78 (diff) |
Remove Whitespaces from chessbox
Remove 1616 Whitespaces from chessbox
Change-Id: I84c0dbd4a177eba50b9f7427f5695ae4b266aa5e
Diffstat (limited to 'apps/plugins/chessbox/chessbox_pgn.c')
-rw-r--r-- | apps/plugins/chessbox/chessbox_pgn.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/chessbox/chessbox_pgn.c b/apps/plugins/chessbox/chessbox_pgn.c index 8b2cb1b2f2..98d9e29431 100644 --- a/apps/plugins/chessbox/chessbox_pgn.c +++ b/apps/plugins/chessbox/chessbox_pgn.c @@ -7,7 +7,7 @@ * \/ \/ \/ \/ \/ * $Id$ * -* Copyright (C) 2007 Mauricio Peccorini +* Copyright (C) 2007 Mauricio Peccorini * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -417,7 +417,7 @@ static void coords_to_pgn(struct pgn_ply_node* ply){ && ply->column_to + kn_offs[i][1] >= 0 && ply->column_to + kn_offs[i][1] <= 7 && board[locn[ply->row_to + kn_offs[i][0]][ply->column_to + kn_offs[i][1]]] == knight && color[locn[ply->row_to + kn_offs[i][0]][ply->column_to + kn_offs[i][1]]] == ply->player - && (ply->row_to + kn_offs[i][0] != ply->row_from + && (ply->row_to + kn_offs[i][0] != ply->row_from || ply->column_to + kn_offs[i][1] != ply->column_from)){ if (ply->row_to + kn_offs[i][0] != ply->row_from){ unambiguous_position = '1' + ply->row_from; @@ -878,5 +878,5 @@ void pgn_store_game(struct pgn_game_node* game){ /* leave a blank line between the tag section and the game section */ rb->fdprintf(fhandler,"\n\n"); - rb->close(fhandler); + rb->close(fhandler); } |