summaryrefslogtreecommitdiff
path: root/chess-ics1.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2002-04-08 04:31:50 +0000
committerJohn Wiegley <johnw@newartisans.com>2002-04-08 04:31:50 +0000
commit9de220869f323ac605711169365e8135f7a094c3 (patch)
tree9b63646a6a19a3c6a591c70a282afb67c71471f4 /chess-ics1.el
parentfe851e20e7c1a4f7da6478d1afebb5faa8dcc72d (diff)
Bug fixes to the ics1 display
Diffstat (limited to 'chess-ics1.el')
-rw-r--r--chess-ics1.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/chess-ics1.el b/chess-ics1.el
index 1491a63..1d016c8 100644
--- a/chess-ics1.el
+++ b/chess-ics1.el
@@ -69,8 +69,8 @@ PERSPECTIVE is t for white or nil for black."
(pop-to-buffer (current-buffer)))
(let (beg end)
(save-excursion
- (beginning-of-line)
- (goto-line (+ 2 (chess-index-rank index)))
+ (goto-char (point-min))
+ (goto-line (+ 3 (* 2 (chess-index-rank index))))
(forward-char (+ 8 (* 4 (chess-index-file index))))
(skip-chars-backward "^|")
(setq beg (point))