summaryrefslogtreecommitdiff
path: root/chess-crafty.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-crafty.el')
-rw-r--r--chess-crafty.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/chess-crafty.el b/chess-crafty.el
index ddd0cf1..11245b6 100644
--- a/chess-crafty.el
+++ b/chess-crafty.el
@@ -22,6 +22,7 @@
;;; Code:
(require 'chess-common)
+(require 'chess-fen)
(require 'chess-var)
(defgroup chess-crafty nil
@@ -131,7 +132,7 @@
((eq event 'setup-pos)
(chess-engine-send nil (format "setboard %s\n"
- (chess-pos-to-string (car args)))))
+ (chess-pos-to-fen (car args)))))
((eq event 'evaluate)
(setq chess-crafty-evaluation nil)