diff options
Diffstat (limited to 'chess-pgn.el')
| -rw-r--r-- | chess-pgn.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chess-pgn.el b/chess-pgn.el index 5460caf..41abf86 100644 --- a/chess-pgn.el +++ b/chess-pgn.el @@ -26,7 +26,7 @@ (goto-char (match-end 0)) (setq prevpos position) (let* ((move (match-string 0)) - (ply (chess-algebraic-to-ply position (match-string 0)))) + (ply (chess-algebraic-to-ply position move))) (unless ply (chess-error 'pgn-read-error move)) (setq position (chess-ply-next-pos ply)) |
