From c58a7d956483a2164650aad3f4b5f65928791a34 Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Sun, 19 Sep 2010 13:16:40 -0700 Subject: [PATCH] bugfix: missing array index --- xboard.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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)) { -- 1.7.0.4