diff options
Diffstat (limited to 'chess-pgn.el')
| -rw-r--r-- | chess-pgn.el | 4 |
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 |
