diff options
-rw-r--r-- | externals/grill/absattr/absattr.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/externals/grill/absattr/absattr.cpp b/externals/grill/absattr/absattr.cpp index 922cba03..1194dea9 100644 --- a/externals/grill/absattr/absattr.cpp +++ b/externals/grill/absattr/absattr.cpp @@ -106,13 +106,15 @@ protected: void SetAttr(const t_symbol *attr,int argc,const t_atom *argv)
{
- if(argc)
- attrs[attr].Set(argc,argv,0,true);
+ if(argc) {
+ AtomList &lst = attrs[attr];
+ lst.Set(argc,argv,0,true);
+ }
else
attrs.erase(attr);
}
- static IsAttr(const t_atom &at) { return IsSymbol(at) && *GetString(at) == '@'; }
+ static bool IsAttr(const t_atom &at) { return IsSymbol(at) && *GetString(at) == '@'; }
void Process(int argc,const t_atom *argv)
{
|