fix vector-copy! bug (PR 10026)

svn: r13111
This commit is contained in:
Matthew Flatt 2009-01-14 13:02:03 +00:00
parent a1f7e3caa2
commit 4759e25019

View File

@ -968,7 +968,7 @@ void scheme_get_substring_indices(const char *name, Scheme_Object *str,
if (SCHEME_VECTORP(str))
len = SCHEME_VEC_SIZE(str);
if (SCHEME_CHAR_STRINGP(str))
else if (SCHEME_CHAR_STRINGP(str))
len = SCHEME_CHAR_STRTAG_VAL(str);
else
len = SCHEME_BYTE_STRTAG_VAL(str);