From: H.G.Muller Date: Tue, 22 Mar 2016 19:59:51 +0000 (+0100) Subject: Fix erasing and exposing of arrow on secondary board X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=5fc6127768aaf96f59be69359e229dacbd2f44f7;p=xboard.git Fix erasing and exposing of arrow on secondary board For the second board the damage flags set for exposing a freshly drawn arrow are left for the next draw to erase that arrow again. --- diff --git a/board.c b/board.c index 7b3535a..30cea29 100644 --- a/board.c +++ b/board.c @@ -1043,7 +1043,7 @@ DrawPosition (int repaint, Board board) SquareExpose(i, j, lineGap); else SquareExpose(i, j, 0); - damage[nr][i][j] = 0; + if(nr == 0) damage[nr][i][j] = 0; // on auxiliary board we retain arrow damage } }