From 648757f53b010106ec394fb068109a5d3a8c8a26 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Wed, 28 Sep 2011 20:42:00 +0200 Subject: [PATCH] Make book-window update part of HistorySet --- backend.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/backend.c b/backend.c index eeea66e..3a77cf4 100644 --- a/backend.c +++ b/backend.c @@ -1665,6 +1665,8 @@ InitBackEnd3 P((void)) void HistorySet( char movelist[][2*MOVE_LEN], int first, int last, int current ) { + DisplayBook(current+1); + MoveHistorySet( movelist, first, last, current, pvInfoList ); EvalGraphSet( first, last, current, pvInfoList ); @@ -9488,7 +9490,6 @@ ShowMove(fromX, fromY, toX, toY) DrawPosition(FALSE, boards[currentMove]); DisplayBothClocks(); HistorySet(parseList,backwardMostMove,forwardMostMove,currentMove-1); - DisplayBook(currentMove); } void SendEgtPath(ChessProgramState *cps) @@ -14056,7 +14057,6 @@ ForwardInner(target) if ( !matchMode && gameMode != Training) { // [HGM] PV info: routine tests if empty DisplayComment(currentMove - 1, commentList[currentMove]); } - DisplayBook(currentMove); } @@ -14169,7 +14169,6 @@ BackwardInner(target) HistorySet(parseList,backwardMostMove,forwardMostMove,currentMove-1); // [HGM] PV info: routine tests if comment empty DisplayComment(currentMove - 1, commentList[currentMove]); - DisplayBook(currentMove); } void -- 1.7.0.4