aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/flsupport.cpp
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2003-02-25 18:18:32 +0000
committerThomas Grill <xovo@users.sourceforge.net>2003-02-25 18:18:32 +0000
commitb27da754180a1d86346f5f77179d607d22befe34 (patch)
treebebbe136e036bfe5b4ba56f19ad941a7a8f4a194 /externals/grill/flext/source/flsupport.cpp
parent2a1bcbb954a73a6bd4415e6c3dbc1f6176d8f210 (diff)
""
svn path=/trunk/; revision=430
Diffstat (limited to 'externals/grill/flext/source/flsupport.cpp')
-rw-r--r--externals/grill/flext/source/flsupport.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/externals/grill/flext/source/flsupport.cpp b/externals/grill/flext/source/flsupport.cpp
index d56028d8..05dac9ba 100644
--- a/externals/grill/flext/source/flsupport.cpp
+++ b/externals/grill/flext/source/flsupport.cpp
@@ -125,9 +125,9 @@ void flext::GetAString(const t_atom &a,char *buf,int szbuf)
atom_string(const_cast<t_atom *>(&a),buf,szbuf);
#else
// no checking for size here
- if(IsSymbol(a)) sprintf(tmp,GetString(a));
- else if(IsFloat(a)) sprintf(tmp,"%f",GetFloat(a));
- else if(IsInt(a)) sprintf(tmp,"%i",GetInt(a));
+ if(IsSymbol(a)) sprintf(buf,GetString(a));
+ else if(IsFloat(a)) sprintf(buf,"%f",GetFloat(a));
+ else if(IsInt(a)) sprintf(buf,"%i",GetInt(a));
else *buf = 0;
#endif
}