mirror of https://github.com/buggins/dlangui.git
fix crash on json saving
This commit is contained in:
parent
b0862b7ae5
commit
301127262b
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue