aboutsummaryrefslogtreecommitdiff
path: root/externals/grill
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2007-01-20 14:30:16 +0000
committerThomas Grill <xovo@users.sourceforge.net>2007-01-20 14:30:16 +0000
commitea528f3fc8826aace002b36d306d56368bb512af (patch)
treed4136c7eee90a5a10f2a92e52636c21b85ad154a /externals/grill
parent84aa287f63db77d0927d460a7eafb4605a66400a (diff)
updated for any messages to be processed (not only symbols)
use new ToSys* methods Codewarrior updates svn path=/trunk/; revision=7374
Diffstat (limited to 'externals/grill')
-rwxr-xr-xexternals/grill/delsplit/delsplit.mcp (renamed from externals/grill/delsplit/delsplit.cw)bin141089 -> 141165 bytes
-rwxr-xr-xexternals/grill/delsplit/main.cpp6
2 files changed, 3 insertions, 3 deletions
diff --git a/externals/grill/delsplit/delsplit.cw b/externals/grill/delsplit/delsplit.mcp
index e6bc0900..04bb39d4 100755
--- a/externals/grill/delsplit/delsplit.cw
+++ b/externals/grill/delsplit/delsplit.mcp
Binary files differ
diff --git a/externals/grill/delsplit/main.cpp b/externals/grill/delsplit/main.cpp
index 3c718afb..82e490a6 100755
--- a/externals/grill/delsplit/main.cpp
+++ b/externals/grill/delsplit/main.cpp
@@ -87,7 +87,7 @@ delsplit::delsplit(int argc,const t_atom *argv):
static int chknum(const char *s)
{
int num = 0,pts = 0;
- for(const char *si = s; *s; ++s) {
+ for(; *s; ++s) {
if(*s == '.') ++pts;
else if(isdigit(*s)) ++num;
else { num = 0; break; }
@@ -152,7 +152,7 @@ void delsplit::m_any(const t_symbol *sym,int argc,const t_atom *argv)
else if(IsString(argv[i]))
strcpy(str,GetString(argv[i]));
else if(CanbeFloat(argv[i]))
- sprintf(str,"%e",GetAFloat(argv[i]));
+ STD::sprintf(str,"%e",GetAFloat(argv[i]));
else
str[0] = 0;
@@ -170,5 +170,5 @@ void delsplit::m_any(const t_symbol *sym,int argc,const t_atom *argv)
}
}
- ToOutList(0,cnt,lst);
+ ToSysList(0,cnt,lst);
}