summaryrefslogtreecommitdiff
path: root/chess-gnuchess.el
diff options
context:
space:
mode:
authorMario Lang <mlang@delysid.org>2004-01-09 08:01:40 +0000
committerMario Lang <mlang@delysid.org>2004-01-09 08:01:40 +0000
commitd33156db3228d6fc470b9dd71ee37bc8ad0e707c (patch)
treefb87793e09bf799fadeb5da25f3d4376da3ed529 /chess-gnuchess.el
parent4b14519d7da58ab6b7f572d08dfd16f6ff9a69b6 (diff)
use zerop
Diffstat (limited to 'chess-gnuchess.el')
-rw-r--r--chess-gnuchess.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/chess-gnuchess.el b/chess-gnuchess.el
index e6a9c37..591c78f 100644
--- a/chess-gnuchess.el
+++ b/chess-gnuchess.el
@@ -55,7 +55,7 @@
(chess-engine-send nil (format "epdload %s\n" file))))
((eq event 'setup-game)
- (if (= 0 (chess-game-index (car args)))
+ (if (zerop (chess-game-index (car args)))
(chess-gnuchess-handler game 'setup-pos (chess-game-pos game 0))
(let ((file (chess-with-temp-file
(insert (chess-game-to-string (car args)) ?\n))))