From: Chris Hanson Date: Sat, 6 May 2017 22:17:15 +0000 (-0700) Subject: Fix typo from previous change. X-Git-Tag: mit-scheme-pucked-9.2.12~14^2~71 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=25c014900ca60421548cde16b2a74682c5660024;p=mit-scheme.git Fix typo from previous change. --- diff --git a/src/xml/xml-struct.scm b/src/xml/xml-struct.scm index 9ad54bb80..92851f8bd 100644 --- a/src/xml/xml-struct.scm +++ b/src/xml/xml-struct.scm @@ -260,7 +260,8 @@ USA. (let ((end (string-length object))) (and (fix:> end 0) (char-alphabetic? (string-ref object 0)) - (string-composed-of? object char-set:xml-encoding 1 end)))))) + (string-composed-of? (string-slice object 1) + char-set:xml-encoding)))))) (register-predicate! xml-encoding? 'xml-encoding '<= string?) (define char-set:xml-encoding