From dd435dbb921ba7fba7230b4601fb0e6e1ee232a8 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Sat, 11 Feb 2012 14:10:21 +0100 Subject: [PATCH] Fix popdown seekgraph on forward-event XB Only the grid was drawn when the > or >> button were operated, because a full redraw was not forced by ForwardInner. The recent patch to take the seek graph down on such events did not account for that. (BackwardInner always seems to do full redraw, however?) --- backend.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend.c b/backend.c index 2b879fe..c8e3da7 100644 --- a/backend.c +++ b/backend.c @@ -14204,7 +14204,7 @@ StopExaminingEvent () void ForwardInner (int target) { - int limit; + int limit; int oldSeekGraphUp = seekGraphUp; if (appData.debugMode) fprintf(debugFP, "ForwardInner(%d), current %d, forward %d\n", @@ -14261,7 +14261,7 @@ ForwardInner (int target) } DisplayBothClocks(); DisplayMove(currentMove - 1); - DrawPosition(FALSE, boards[currentMove]); + DrawPosition(oldSeekGraphUp, boards[currentMove]); HistorySet(parseList,backwardMostMove,forwardMostMove,currentMove-1); if ( !matchMode && gameMode != Training) { // [HGM] PV info: routine tests if empty DisplayComment(currentMove - 1, commentList[currentMove]); -- 1.7.0.4