From 9de220869f323ac605711169365e8135f7a094c3 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 8 Apr 2002 04:31:50 +0000 Subject: Bug fixes to the ics1 display --- chess-ics1.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chess-ics1.el') 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)) -- cgit v1.2.3