X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=board.c;h=5c55b4f8628d0c7e85034ffaf9757c31184161d8;hb=ff35ac10e995043ddbc05154f185784b9918d48b;hp=0941fc97e16c11a94d7e7f890e28b7c33e92e4a4;hpb=b737badf310f917fb0f7d5657fe7418aa4a8e401;p=xboard.git diff --git a/board.c b/board.c index 0941fc9..5c55b4f 100644 --- a/board.c +++ b/board.c @@ -5,7 +5,7 @@ * Massachusetts. * * Enhancements Copyright 1992-2001, 2002, 2003, 2004, 2005, 2006, - * 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc. + * 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 Free Software Foundation, Inc. * * The following terms apply to Digital Equipment Corporation's copyright * interest in XBoard: @@ -1029,7 +1029,7 @@ DrawPosition (int repaint, Board board) GraphExpose(currBoard, x - lineGap, y - lineGap, squareSize + 2*lineGap, squareSize + 2*lineGap); else GraphExpose(currBoard, x, y, squareSize, squareSize); - damage[nr][i][j] &= ~2; // remember damage by newly drawn error in '2' bit, to schedule it for erasure next draw + damage[nr][i][j] &= 2; // remember damage by newly drawn error in '2' bit, to schedule it for erasure next draw } }