aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/absattr
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2005-08-09 10:31:08 +0000
committerThomas Grill <xovo@users.sourceforge.net>2005-08-09 10:31:08 +0000
commita111ce248be0420be382a9c5d644d394939cae82 (patch)
tree905ab877c83cc267d5e7fabebb10eefc19bc1f8b /externals/grill/absattr
parent3df20beff85760cb4d5ef079fafc36526e5cc626 (diff)
small fixes
svn path=/trunk/; revision=3414
Diffstat (limited to 'externals/grill/absattr')
-rw-r--r--externals/grill/absattr/absattr.cpp8
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)
{