summaryrefslogtreecommitdiff
path: root/chess-pgn.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2002-04-18 22:40:21 +0000
committerJohn Wiegley <johnw@newartisans.com>2002-04-18 22:40:21 +0000
commit395066201d7d1ced328b4a980691ea4c5e0e50da (patch)
treed627b50f995921ad9d32966a656aeb330c47ba7d /chess-pgn.el
parent0f505fca10e63d68eb3b536113e443f6783bd092 (diff)
*** no comment ***
Diffstat (limited to 'chess-pgn.el')
-rw-r--r--chess-pgn.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/chess-pgn.el b/chess-pgn.el
index 1cae1b2..3da9f46 100644
--- a/chess-pgn.el
+++ b/chess-pgn.el
@@ -315,8 +315,8 @@ If INDENTED is non-nil, indent the move texts."
(let ((chess-game-inhibit-events t))
(setq chess-pgn-display (chess-create-display))))
(/= (chess-game-data chess-pgn-current-game 'database-index)
- (chess-game-data (chess-display-game chess-pgn-display)
- 'database-index)))
+ (or (chess-game-data (chess-display-game chess-pgn-display)
+ 'database-index) -1)))
(progn
(chess-display-disable-popup chess-pgn-display)
(chess-display-set-game chess-pgn-display