summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-09-17 06:18:47 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-09-17 06:18:47 -0400
commit6a4c5b160ccf0d7f88e9bb576d7dea8890023f24 (patch)
treec1ca5acff482270ae43a51915ee299755442426f
parentea87ef9ce39b834bd1059e90cba8ac998acb7cfc (diff)
Fixed another problem with the error reporting code.
-rw-r--r--chess-scid.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/chess-scid.el b/chess-scid.el
index 3f713c6..045a37a 100644
--- a/chess-scid.el
+++ b/chess-scid.el
@@ -24,7 +24,7 @@
(while (and (> (setq iterations (1- iterations)) 0)
(eobp))
(accept-process-output chess-scid-process 1 0 t))
- (if (eobp)
+ (if (= here (point-max))
(error "chess-scid: '%s' failed to produce any output" command))
(goto-char (point-max))
(skip-chars-backward " \t\n\r%")