summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Lang <mlang@delysid.org>2014-03-30 16:02:24 +0200
committerMario Lang <mlang@delysid.org>2014-03-30 16:02:24 +0200
commit6cf486ed5c05ccf7af0b0f569a574c2f9a221364 (patch)
tree83ff7a8bc94e8f4cd6c7c6dcfd128260630dbd5a
parent49e083d0547e8a4f45d022b22a5bff374d28e6bb (diff)
UCI engines *crash* on FENs with missing trailing spaces.
-rw-r--r--chess-display.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/chess-display.el b/chess-display.el
index a58fbb1..ffe20eb 100644
--- a/chess-display.el
+++ b/chess-display.el
@@ -690,7 +690,7 @@ Basically, it means we are playing, not editing or reviewing."
(kill-new (with-temp-buffer
(chess-game-to-pgn game)
(buffer-string)))
- (kill-new (chess-pos-to-fen (chess-display-position nil))))))
+ (kill-new (chess-pos-to-fen (chess-display-position nil) t)))))
(defun chess-display-yank-board ()
"Send the current board configuration to the user."