--- MacRuby/branches/icu/string.c 2010-03-10 02:28:39 UTC (rev 3727)
+++ MacRuby/branches/icu/string.c 2010-03-10 03:07:55 UTC (rev 3728)
@@ -5469,6 +5469,7 @@
{
assert(IS_BSTR(str));
str_resize_bytes(RSTR(str), capa);
+ RSTR(str)->length_in_bytes = capa;
}
void