--- MacRuby/trunk/string.c 2011-01-31 11:02:55 UTC (rev 5212)
+++ MacRuby/trunk/string.c 2011-01-31 11:44:27 UTC (rev 5213)
@@ -1955,6 +1955,7 @@
if (index < 0) {
index += RSTR(self)->length_in_bytes;
}
+ str_reset_flags(RSTR(self));
RSTR(self)->bytes[index] = byte;
return value;
}