Fix off-by-one error

This commit is contained in:
Justin Ethier 2015-10-12 22:38:09 -04:00
parent ce95299919
commit 57ebc43e56

View file

@ -891,7 +891,7 @@ object Cyc_list2string(object cont, object lst){
}
buf[i] = '\0';
{ make_string_noalloc(str, buf, i - 1);
{ make_string_noalloc(str, buf, i);
return_closcall1(cont, &str);}
}