diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2006-09-30 19:23:16 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2006-09-30 19:23:16 +0000 |
commit | 50718bbb20fc634415d3ac6256fea29812efff6e (patch) | |
tree | f93ce9323b6d118d243137b5869a6c7b1ee45631 /externals/grill/pool/source/data.cpp | |
parent | 1468db380cbc96277818e54b785bd46612b543f4 (diff) |
reintroduced missing help message
added success/error reporting for file operations
fixed double-free on clearing values and dirs
fixed bug in XML saving of nested folders
changed obviously buggy pool name registering
fixed clearing values and dirs, e.g. with messages clrall and clrrec
use new ToSys* methods
svn path=/trunk/; revision=6060
Diffstat (limited to 'externals/grill/pool/source/data.cpp')
-rw-r--r-- | externals/grill/pool/source/data.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/externals/grill/pool/source/data.cpp b/externals/grill/pool/source/data.cpp index afbd8c45..3729738c 100644 --- a/externals/grill/pool/source/data.cpp +++ b/externals/grill/pool/source/data.cpp @@ -2,7 +2,7 @@ pool - hierarchical storage object for PD and Max/MSP -Copyright (c) 2002-2005 Thomas Grill +Copyright (c) 2002-2006 Thomas Grill (gr@grrrr.org) For information on usage and redistribution, and for a DISCLAIMER OF ALL WARRANTIES, see the file, "license.txt," in this distribution. @@ -49,7 +49,9 @@ I pooldata::PrintAll(const AtomList &d) d.Print(tmp,sizeof tmp); pooldir *pd = root.GetDir(d); strcat(tmp," , "); - return pd?pd->PrintAll(tmp,sizeof tmp):0; + int cnt = pd?pd->PrintAll(tmp,sizeof tmp):0; + if(!cnt) post(tmp); + return cnt; } I pooldata::GetSub(const AtomList &d,const t_atom **&dirs) |