From 50718bbb20fc634415d3ac6256fea29812efff6e Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Sat, 30 Sep 2006 19:23:16 +0000 Subject: 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 --- externals/grill/pool/source/data.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'externals/grill/pool/source/data.cpp') 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) -- cgit v1.2.1