summaryrefslogtreecommitdiff
path: root/chess-pgn.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2002-04-17 08:34:35 +0000
committerJohn Wiegley <johnw@newartisans.com>2002-04-17 08:34:35 +0000
commitc171394743d2a10cfe872ce076c5a8f7269d7b2b (patch)
tree0906d6eb3a7d9e6367e22d32ea1158db2d759f53 /chess-pgn.el
parent4d1c4c72b5a9c2c0180531246389a452fc034bc8 (diff)
More general bug fixing, efficiency improvements, etc.
Diffstat (limited to 'chess-pgn.el')
-rw-r--r--chess-pgn.el2
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))