fix indexing typo in ES.2

This commit is contained in:
ven
2015-09-20 23:20:08 +02:00
parent 0c98949215
commit 2110dded0d

View File

@@ -6391,7 +6391,7 @@ The more traditional and lower-level near-equivalent is longer, messier, harder
while (is && elemcount<maxelem) { while (is && elemcount<maxelem) {
auto s = new char[maxstring]; auto s = new char[maxstring];
is.read(s,maxstring); is.read(s,maxstring);
res[elemcount++= = s; res[elemcount++] = s;
} }
nread = elemcount; nread = elemcount;
return res; return res;