mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-14 23:50:19 +02:00
* srfi-13.c (scm_string_copyS): Fixed nasty bug.
This commit is contained in:
parent
df937d20e0
commit
2abe254dac
2 changed files with 5 additions and 1 deletions
|
@ -379,7 +379,7 @@ SCM_DEFINE (scm_string_copyS, "string-copy", 1, 2, 0,
|
|||
SCM_VALIDATE_SUBSTRING_SPEC_COPY (1, str, cstr,
|
||||
2, start, cstart,
|
||||
3, end, cend);
|
||||
return scm_makfromstr (cstr + start, cend - cstart, 0);
|
||||
return scm_makfromstr (cstr + cstart, cend - cstart, 0);
|
||||
|
||||
}
|
||||
#undef FUNC_NAME
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue