1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-09 13:30:26 +02:00

(scm_string_every): Correction to initial "res" value,

return should be #t for an empty string.  Reported by Andreas Vögele.
This commit is contained in:
Kevin Ryde 2004-08-02 00:24:36 +00:00
parent c80bab35fb
commit 8c0634b7ea

View file

@ -74,7 +74,7 @@ SCM_DEFINE (scm_string_every, "string-every", 2, 2, 0,
SCM_VALIDATE_SUBSTRING_SPEC_COPY (2, s, cstr,
3, start, cstart,
4, end, cend);
res = SCM_BOOL_F;
res = SCM_BOOL_T;
cstr += cstart;
while (cstart < cend)
{