summaryrefslogtreecommitdiff
path: root/chess-database.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-database.el')
-rw-r--r--chess-database.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/chess-database.el b/chess-database.el
index 4095f06..9c48297 100644
--- a/chess-database.el
+++ b/chess-database.el
@@ -48,7 +48,7 @@
(defun chess-database-read (database index-or-moniker)
(if (integerp index-or-moniker)
- (chess-database-command database 'read index)
+ (chess-database-command database 'read index-or-moniker)
(if (string-match "\\`\\([^:]+\\):\\([^#]+\\)#\\([0-9]+\\)\\'"
index-or-moniker)
(let* ((type (match-string 1 index-or-moniker))