fix crash on json saving

This commit is contained in:
Vadim Lopatin 2015-12-16 15:30:12 +03:00
parent b0862b7ae5
commit 301127262b
1 changed files with 1 additions and 1 deletions

View File

@ -1506,7 +1506,7 @@ final class Setting {
buf.append('[');
if (pretty && _store.array.length > 0)
buf.appendEOL();
for (int i = 0; ; i++) {
for (int i = 0; i < _store.array.length; i++) {
if (pretty)
buf.appendTabs(level + 1);
_store.array.get(i).toJSON(buf, level + 1, pretty);