summaryrefslogtreecommitdiff
path: root/chess-display.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2002-04-24 19:56:54 +0000
committerJohn Wiegley <johnw@newartisans.com>2002-04-24 19:56:54 +0000
commitda58e86d8e2d128f0b2519b08593d79da83d0c73 (patch)
tree8a8025b09f8324a07fe1261d029d777d377b97c3 /chess-display.el
parentf996624fccdf03feb2a914f193659e99095f858d (diff)
*** no comment ***
Diffstat (limited to 'chess-display.el')
-rw-r--r--chess-display.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/chess-display.el b/chess-display.el
index 271d4b6..59699b4 100644
--- a/chess-display.el
+++ b/chess-display.el
@@ -559,7 +559,8 @@ The key bindings available in this mode are:
(defsubst chess-display-active-p ()
"Return non-nil if the displayed chessboard reflects an active game.
Basically, it means we are playing, not editing or reviewing."
- (and (= chess-display-index
+ (and (chess-game-data chess-module-game 'active)
+ (= chess-display-index
(chess-game-index chess-module-game))
(not (chess-game-over-p chess-module-game))
(not chess-display-edit-mode)))