aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/flattr.cpp
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2004-04-03 02:21:04 +0000
committerThomas Grill <xovo@users.sourceforge.net>2004-04-03 02:21:04 +0000
commit079bcdc0e050c002b77e4bf86e919fed44f6a7db (patch)
treedec2e5220e94123664ff75da8d9e50f5dff85969 /externals/grill/flext/source/flattr.cpp
parent94fcd3d8d61c431778f51ba91f86e1a97b7fc813 (diff)
""
svn path=/trunk/; revision=1540
Diffstat (limited to 'externals/grill/flext/source/flattr.cpp')
-rw-r--r--externals/grill/flext/source/flattr.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/externals/grill/flext/source/flattr.cpp b/externals/grill/flext/source/flattr.cpp
index 37497c88..7cb3a7b9 100644
--- a/externals/grill/flext/source/flattr.cpp
+++ b/externals/grill/flext/source/flattr.cpp
@@ -238,7 +238,9 @@ bool flext_base::SetAttrib(const t_symbol *tag,AttrItem *a,int argc,const t_atom
break;
case a_symbol:
if(argc == 1 && IsSymbol(argv[0])) {
- any.st = const_cast<t_symbol *>(GetParamSym(GetSymbol(argv[0]),thisCanvas()));
+ // \todo shall we analyze the patcher args????
+// any.st = const_cast<t_symbol *>(GetParamSym(GetSymbol(argv[0]),thisCanvas()));
+ any.st = GetSymbol(argv[0]);
((methfun_1)a->fun)(this,any);
}
else ok = false;
@@ -254,7 +256,7 @@ bool flext_base::SetAttrib(const t_symbol *tag,AttrItem *a,int argc,const t_atom
AtomList la(argc);
for(int i = 0; i < argc; ++i)
if(IsSymbol(argv[i]))
- SetSymbol(la[i],GetParamSym(GetSymbol(argv[i]),thisCanvas()));
+ GetParamSym(la[i],GetSymbol(argv[i]),thisCanvas());
else
la[i] = argv[i];