diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2005-08-09 10:31:08 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2005-08-09 10:31:08 +0000 |
commit | a111ce248be0420be382a9c5d644d394939cae82 (patch) | |
tree | 905ab877c83cc267d5e7fabebb10eefc19bc1f8b /externals/grill | |
parent | 3df20beff85760cb4d5ef079fafc36526e5cc626 (diff) |
small fixes
svn path=/trunk/; revision=3414
Diffstat (limited to 'externals/grill')
-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)
{
|