From 97e9758dad2d3fe8c5ef97589065fe157ca4730d Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 16 Apr 2002 21:12:27 +0000 Subject: (chess-link): Fixed an error in display creation, and which game was used. --- chess-link.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'chess-link.el') diff --git a/chess-link.el b/chess-link.el index 091e13e..6448196 100644 --- a/chess-link.el +++ b/chess-link.el @@ -49,10 +49,9 @@ engine, and the computer the second engine." (interactive "sFirst engine: \nsSecond engine: ") (setq first-engine-type (intern (concat "chess-" first-engine-type)) second-engine-type (intern (concat "chess-" second-engine-type))) - (require chess-default-display) (let* ((my-color t) ; we start out as white always - (game (chess-game-create)) - (display (chess-create-display-object my-color))) + (display (chess-create-display-object my-color)) + (game (chess-display-game display))) (chess-game-set-data game 'my-color my-color) (chess-module-set-leader display) (chess-display-disable-popup display) -- cgit v1.2.3