summaryrefslogtreecommitdiff
path: root/chess-display.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2002-04-14 19:17:39 +0000
committerJohn Wiegley <johnw@newartisans.com>2002-04-14 19:17:39 +0000
commitd881274ead232567cf80f0057031b05f5b0551bc (patch)
treefaec30c2ea7379734b8ffa7d0ef4847a833c3c5f /chess-display.el
parent0d0b553f7d0b5d3ab165ddbf4e1c6b47fe6e17d9 (diff)
*** no comment ***
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