diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:06:40 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:06:40 -0800 |
commit | a69c9fb665459e2bfdbda1bf80741a0af31a7faf (patch) | |
tree | f0bc974f8805049e6b9a4e6864886298fbaa05a4 /xml-parse.scm | |
parent | 4684239efa63dc1b2c1cbe37ef7d3062029f5532 (diff) | |
download | slib-upstream/3b5.tar.gz slib-upstream/3b5.zip |
New upstream version 3b5upstream/3b5upstream
Diffstat (limited to 'xml-parse.scm')
-rwxr-xr-x[-rw-r--r--] | xml-parse.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xml-parse.scm b/xml-parse.scm index 3c02942..da9a7fd 100644..100755 --- a/xml-parse.scm +++ b/xml-parse.scm @@ -343,7 +343,7 @@ (do ((idx 0 (+ 1 idx))) ((>= idx len) idx) (let ((chr (read-char port))) - (cond ((eof-object? byt) + (cond ((eof-object? chr) (set! idx (+ -1 idx)) (set! len idx)) (else (string-set! buffer idx chr)))))) |