From 8f1c9fee822580af366e6e3624ba7354e1126ce8 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Wed, 21 Oct 2009 23:01:09 -0700 Subject: [PATCH] fix for bug #27772: holdings not updated holdings lines from the ICS nor update the holdings of boards[forwardMostMove] in stead of boards[currentMove]. --- backend.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend.c b/backend.c index e608307..acb9123 100755 --- a/backend.c +++ b/backend.c @@ -3301,8 +3301,8 @@ read_from_ics(isr, closure, data, count, error) white_holding[strlen(white_holding)-1] = NULLCHAR; black_holding[strlen(black_holding)-1] = NULLCHAR; /* [HGM] copy holdings to board holdings area */ - CopyHoldings(boards[currentMove], white_holding, WhitePawn); - CopyHoldings(boards[currentMove], black_holding, BlackPawn); + CopyHoldings(boards[forwardMostMove], white_holding, WhitePawn); + CopyHoldings(boards[forwardMostMove], black_holding, BlackPawn); #if ZIPPY if (appData.zippyPlay && first.initDone) { ZippyHoldings(white_holding, black_holding, -- 1.7.0.4