diff options
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)))))) |