aboutsummaryrefslogtreecommitdiff
path: root/externals
diff options
context:
space:
mode:
Diffstat (limited to 'externals')
-rw-r--r--externals/grill/pool/readme.txt1
-rw-r--r--externals/grill/pool/source/pool.cpp4
2 files changed, 2 insertions, 3 deletions
diff --git a/externals/grill/pool/readme.txt b/externals/grill/pool/readme.txt
index 25cae32e..0ab9186b 100644
--- a/externals/grill/pool/readme.txt
+++ b/externals/grill/pool/readme.txt
@@ -79,6 +79,7 @@ Version history:
- fixed serious bug with clearing values and dirs. e.g. "clrall" and "clrrec" messages.
- fixed double-free for clearing dirs and values
- re-introduced a help message
+- fixed bug in nested-dir XML saving
0.2.1:
- fixed "cntsub"... directories in current directory have been forgotten
diff --git a/externals/grill/pool/source/pool.cpp b/externals/grill/pool/source/pool.cpp
index 1de7994e..6b75b4c6 100644
--- a/externals/grill/pool/source/pool.cpp
+++ b/externals/grill/pool/source/pool.cpp
@@ -65,7 +65,6 @@ poolval::~poolval()
{
if(data) delete data;
-// if(nxt) delete nxt;
FLEXT_ASSERT(nxt == NULL);
}
@@ -95,7 +94,6 @@ pooldir::~pooldir()
{
Reset(false);
-// if(nxt) delete nxt;
FLEXT_ASSERT(nxt == NULL);
}
@@ -983,7 +981,7 @@ BL pooldir::SvDirXML(ostream &os,I depth,const AtomList &dir,I ind)
os << "<dir>" << endl;
indent(os,ind+i+1);
os << "<key>";
- WriteAtom(os,dir[i]);
+ WriteAtom(os,dir[ind+i]);
os << "</key>" << endl;
}