From: H.G. Muller Date: Sat, 11 Feb 2012 13:10:21 +0000 (+0100) Subject: Fix popdown seekgraph on forward-event XB X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=dd435dbb921ba7fba7230b4601fb0e6e1ee232a8;hp=2af7c68549b9aeb85ddce753062604f54f0b0b49;p=xboard.git 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?) --- 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]);