Merge pull request #46 from vendethiel/patch-2

fix indexing typo in ES.2.
This commit is contained in:
Gabriel Dos Reis
2015-09-20 14:44:21 -07:00

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;