From: Arun Persaud Date: Sun, 19 Sep 2010 20:16:40 +0000 (-0700) Subject: bugfix: missing array index X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=c58a7d956483a2164650aad3f4b5f65928791a34;p=xboard.git bugfix: missing array index --- diff --git a/xboard.c b/xboard.c index dcc58b5..3d62a69 100644 --- a/xboard.c +++ b/xboard.c @@ -4489,7 +4489,7 @@ void XDrawPosition(w, repaint, board) if(DrawSeekGraph()) return; // [HGM] seekgraph: suppress any drawing if seek graph up if (board == NULL) { - if (!lastBoardValid) return; + if (!lastBoardValid[nr]) return; board = lastBoard[nr]; } if (!lastBoardValid[nr] || (nr == 0 && lastFlipView != flipView)) {