summaryrefslogtreecommitdiff
path: root/chess-display.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-display.el')
-rw-r--r--chess-display.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/chess-display.el b/chess-display.el
index 58a2e0c..266b2d1 100644
--- a/chess-display.el
+++ b/chess-display.el
@@ -903,7 +903,8 @@ to the end or beginning."
(eq position chess-legal-moves-pos)
(or (> (length chess-move-string) 1)
(eq (car chess-legal-moves) last-command-char)))
- (setq char last-command-char
+ (setq char (if (eq (downcase last-command-char) ?o) ?k
+ last-command-char)
chess-legal-moves-pos position
chess-legal-moves
(cons char