Stringify an added element at the time it is added, not at the time

that toString() is called on the buffer.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4390 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2006-10-04 01:15:15 +00:00
parent 23f6486bf7
commit 5e769376f2
+1 -1
View File
@@ -14,7 +14,7 @@ public class StringBuilder
public function append (... args) :StringBuilder
{
while (args.length > 0) {
_array.push(args.shift());
_array.push(String(args.shift()));
}
return this;
}