summaryrefslogtreecommitdiff
path: root/chess-gnuchess.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-gnuchess.el')
-rw-r--r--chess-gnuchess.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/chess-gnuchess.el b/chess-gnuchess.el
index 227ee84..81d7152 100644
--- a/chess-gnuchess.el
+++ b/chess-gnuchess.el
@@ -22,6 +22,7 @@
;;; Code:
(require 'chess-common)
+(require 'chess-fen)
(defgroup chess-gnuchess nil
"The publically available chess engine 'gnuchess'."
@@ -69,7 +70,7 @@
((eq event 'setup-pos)
(let ((file (chess-with-temp-file
- (insert (chess-pos-to-string (car args)) ?\n))))
+ (insert (chess-pos-to-fen (car args)) ?\n))))
(chess-engine-send nil (format "epdload %s\n" file))))
((eq event 'setup-game)