diff options
Diffstat (limited to 'chess-ics1.el')
| -rw-r--r-- | chess-ics1.el | 4 |
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)) |
