Fix typo.
authorChris Hanson <org/chris-hanson/cph>
Tue, 17 Feb 2004 05:35:46 +0000 (05:35 +0000)
committerChris Hanson <org/chris-hanson/cph>
Tue, 17 Feb 2004 05:35:46 +0000 (05:35 +0000)
v7/src/runtime/string.scm

index 59fe0193f5997c1b81de9cf8cc4b3a8c6d7b3877..f64797768310a645bb69ab1d248e209ee6240f86 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Id: string.scm,v 14.55 2004/02/16 05:38:29 cph Exp $
+$Id: string.scm,v 14.56 2004/02/17 05:35:46 cph Exp $
 
 Copyright 1986,1987,1988,1992,1993,1994 Massachusetts Institute of Technology
 Copyright 1995,1997,1999,2000,2001,2002 Massachusetts Institute of Technology
@@ -1435,7 +1435,7 @@ USA.
   (guarantee-string-index start caller)
   (if (not (fix:<= start end))
       (error:bad-range-argument start caller))
-  end)
+  start)
 
 (define-integrable (guarantee-2-substrings string1 start1 end1
                                           string2 start2 end2