summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chess-test.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/chess-test.el b/chess-test.el
index 228fcfa..2446982 100644
--- a/chess-test.el
+++ b/chess-test.el
@@ -28,7 +28,7 @@
(index (if start
(max start 1)
1))
- (last-index (if count
+ (last-index (if (and count (> count 0))
(min db-count (+ index count))
db-count))
(begin (current-time))