Fix layout in Disambiguate
authorH.G. Muller <h.g.muller@hccnet.nl>
Sat, 3 Mar 2012 22:20:56 +0000 (23:20 +0100)
committerH.G. Muller <h.g.muller@hccnet.nl>
Sat, 3 Mar 2012 22:20:56 +0000 (23:20 +0100)
To make it more obvious what next patch is.

moves.c

diff --git a/moves.c b/moves.c
index 5f6aad5..f8b7857 100644 (file)
--- a/moves.c
+++ b/moves.c
@@ -1331,13 +1331,13 @@ Disambiguate (Board board, int flags, DisambiguateClosure *closure)
         GenLegal(board, flags|F_IGNORE_CHECK, DisambiguateCallback, (VOIDSTAR) closure, closure->pieceIn);
        if (closure->count == 0) {
            /* No, it's not even that */
         GenLegal(board, flags|F_IGNORE_CHECK, DisambiguateCallback, (VOIDSTAR) closure, closure->pieceIn);
        if (closure->count == 0) {
            /* No, it's not even that */
-    if (appData.debugMode) { int i, j;
-       for(i=BOARD_HEIGHT-1; i>=0; i--) {
-               for(j=0; j<BOARD_WIDTH; j++)
+           if (appData.debugMode) { int i, j;
+               for(i=BOARD_HEIGHT-1; i>=0; i--) {
+                   for(j=0; j<BOARD_WIDTH; j++)
                        fprintf(debugFP, "%3d", (int) board[i][j]);
                        fprintf(debugFP, "%3d", (int) board[i][j]);
-               fprintf(debugFP, "\n");
-       }
-    }
+                   fprintf(debugFP, "\n");
+               }
+           }
            return;
        }
     }
            return;
        }
     }