summaryrefslogtreecommitdiff
path: root/src/draw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/draw.c')
-rwxr-xr-xsrc/draw.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/draw.c b/src/draw.c
index 7b2b1d5..7df10b4 100755
--- a/src/draw.c
+++ b/src/draw.c
@@ -29,10 +29,10 @@ IsDraw(SEARCHER_THREAD_CONTEXT *ctx)
{
ULONG uPly;
UINT64 u64CurrentSig;
-
+
//
// Recognize 50-moves w/o progress draw rule
- //
+ //
if (ctx->sPosition.uFifty >= 100)
{
return(TRUE);
@@ -40,7 +40,7 @@ IsDraw(SEARCHER_THREAD_CONTEXT *ctx)
//
// Check for repeated positions if needed.
- //
+ //
if (ctx->sPosition.uFifty < 4)
{
return(FALSE);
@@ -52,7 +52,7 @@ IsDraw(SEARCHER_THREAD_CONTEXT *ctx)
while(uPly < MAX_PLY_PER_SEARCH)
{
#ifdef DEBUG
- if ((GET_COLOR(ctx->sPlyInfo[uPly].mv.pMoved) !=
+ if ((GET_COLOR(ctx->sPlyInfo[uPly].mv.pMoved) !=
ctx->sPosition.uToMove) &&
(ctx->sPlyInfo[uPly].mv.uMove != 0))
{
@@ -65,7 +65,7 @@ IsDraw(SEARCHER_THREAD_CONTEXT *ctx)
{
return(TRUE);
}
-
+
if (IS_PAWN(ctx->sPlyInfo[uPly].mv.pMoved) ||
(ctx->sPlyInfo[uPly].mv.pCaptured))
{
@@ -73,7 +73,7 @@ IsDraw(SEARCHER_THREAD_CONTEXT *ctx)
}
uPly -= 2;
}
-
+
//
// Keep looking in the official game record.
//